From df6a64f772d50ee3f12a7016695b406b2b6394b0 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 7 Nov 2016 07:49:09 -0300 Subject: [PATCH] test --- src/komodo_gateway.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index d415161f9..0890df521 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -357,8 +357,8 @@ int32_t komodo_gateway_tx(char *symbol,int32_t height,int32_t txi,char *txidstr, { if ( (result= jobj(json,(char *)"result")) != 0 ) { - vpub_old = j64bits(result,(char *)"vpub_old"); - vpub_new = j64bits(result,(char *)"vpub_new"); + vpub_old = jdouble(result,(char *)"vpub_old") * COIN; + vpub_new = jdouble(result,(char *)"vpub_new") * COIN; retval = 0; if ( vpub_old == 0 && vpub_new == 0 && (vouts= jarray(&n,result,(char *)"vout")) != 0 ) {