From 011064ed3a7a89cd8461cf47a44700c179dca0e4 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 12 Nov 2017 11:42:19 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_rpc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index 3b77916af..5b2a654ee 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -450,6 +450,7 @@ uint32_t LP_locktime(char *symbol,bits256 txid) uint32_t LP_txtime(char *symbol,bits256 txid) { struct LP_transaction *tx; struct iguana_info *coin; int32_t timestamp=0,height = 0; + char str[65]; printf("LP_txtime (%s %s)\n",symbol,bits256_str(str,txid)); if ( (timestamp= LP_locktime(symbol,txid)) != 0 ) return(timestamp); if ( (coin= LP_coinfind(symbol)) != 0 ) @@ -1040,6 +1041,7 @@ uint32_t LP_heighttime(char *symbol,int32_t height) { if ( (retjson= cJSON_Parse(blockhashstr)) != 0 ) { + printf("height.(%s)\n",jprint(retjson,0)); timestamp = juint(retjson,"time"); free_json(retjson); }