From a10aafcc06050a52fb9e093f3c9a35d47c84b1f9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 7 Nov 2016 07:55:33 -0300 Subject: [PATCH] test --- src/komodo_gateway.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 0890df521..548c904c1 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -357,6 +357,7 @@ int32_t komodo_gateway_tx(char *symbol,int32_t height,int32_t txi,char *txidstr, { if ( (result= jobj(json,(char *)"result")) != 0 ) { + printf("RESULT.(%s)\n",jprint(result,0)); vpub_old = jdouble(result,(char *)"vpub_old") * COIN; vpub_new = jdouble(result,(char *)"vpub_new") * COIN; retval = 0; @@ -384,7 +385,7 @@ int32_t komodo_gateway_tx(char *symbol,int32_t height,int32_t txi,char *txidstr, } } } - } else printf("error getting txids.(%s)\n",retstr); + } else printf("error getting txids.(%s) %p\n",retstr,result); free_json(json); } free(retstr);