From e545bf3c24c1ea261c12896989f62a0b451314d2 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 24 Oct 2017 00:25:31 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_socket.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_socket.c b/iguana/exchanges/LP_socket.c index 195bb79b9..0f652a105 100644 --- a/iguana/exchanges/LP_socket.c +++ b/iguana/exchanges/LP_socket.c @@ -522,12 +522,11 @@ cJSON *electrum_address_listunspent(char *symbol,struct electrum_info *ep,cJSON { if ( (retjson= electrum_strarg(symbol,ep,retjsonp,"blockchain.address.listunspent",addr,ELECTRUM_TIMEOUT)) != 0 ) { - printf("%s u.%u t.%ld %s -> %s LISTUNSPENT.(%ld)\n",coin->symbol,coin->unspenttime,time(NULL),coin->lastunspent,addr,strlen(jprint(retjson,0))); + printf("%s %p u.%u t.%ld %s -> %s LISTUNSPENT.(%ld)\n",coin->symbol,&coin->unspenttime,coin->unspenttime,time(NULL),coin->lastunspent,addr,strlen(jprint(retjson,0))); if ( electrum_process_array(coin,ep,addr,retjson,electrumflag) != 0 ) LP_postutxos(coin->symbol,addr); safecopy(coin->lastunspent,addr,sizeof(coin->lastunspent)); coin->unspenttime = (uint32_t)time(NULL); - printf("%s u.%u t.%ld %s -> %s LISTUNSPENT.(%ld)\n",coin->symbol,coin->unspenttime,time(NULL),coin->lastunspent,addr,strlen(jprint(retjson,0))); } } else retjson = LP_address_utxos(coin,addr,1); return(retjson);