From d72d3184734018ed7bbd7bf131423f50641ac70d Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 18 Sep 2017 11:06:10 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_nativeDEX.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index f8d7b7a90..0af265262 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -432,7 +432,7 @@ int32_t LP_mainloop_iter(void *ctx,char *myipaddr,struct LP_peerinfo *mypeer,int continue; if ( time(NULL) > coin->lastmonitor+60 ) { - portable_mutex_lock(&coin->addrmutex); + //portable_mutex_lock(&coin->addrmutex); HASH_ITER(hh,coin->addresses,ap,atmp) { if ( coin->electrum == 0 ) @@ -447,13 +447,13 @@ int32_t LP_mainloop_iter(void *ctx,char *myipaddr,struct LP_peerinfo *mypeer,int } } } - else if ( 0 ) + else { if ( (retjson= electrum_address_listunspent(coin->symbol,coin->electrum,&retjson,ap->coinaddr)) != 0 ) free_json(retjson); } } - portable_mutex_unlock(&coin->addrmutex); + //portable_mutex_unlock(&coin->addrmutex); coin->lastmonitor = (uint32_t)time(NULL); } if ( coin->electrum != 0 )