From 8056741b5e81fd1c8bea92d1ca66c790519bd50c Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 18 Sep 2017 11:33:26 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_rpc.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index 1cffef1ba..be0680f4e 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -455,6 +455,13 @@ void LP_listunspent_issue(char *symbol,char *coinaddr) if ( (destport= LP_randpeer(destip)) > 0 ) { retstr = issue_LP_listunspent(destip,destport,symbol,coinaddr); + if ( (retjson= cJSON_Parse(retstr)) != 0 ) + { + if ( electrum_process_array(coin,coinaddr,retjson) != 0 ) + { + LP_postutxos(symbol); + } + } //printf("rand %s listunspent.(%s) to %s:%u -> %s\n",symbol,coinaddr,destip,destport,retstr); } }