diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index e15ab19b5..15a821f18 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -319,7 +319,7 @@ int32_t LP_utxos_sync(struct LP_peerinfo *peer) int32_t i,j,n=0,m,v,posted=0; bits256 txid; cJSON *array,*item,*item2,*array2,*array3; uint64_t total,total2,metric; struct iguana_info *coin,*ctmp; struct LP_address *ap; char *retstr,*retstr2,*coinaddr; HASH_ITER(hh,LP_coins,coin,ctmp) { - if ( coin->inactive != 0 || coin->obooktime == 0 ) + if ( coin->inactive != 0 || (coin->electrum != 0 && coin->obooktime == 0) ) continue; total = 0; LP_listunspent_both(coin->symbol,coin->smartaddr); @@ -478,8 +478,8 @@ int32_t LP_mainloop_iter(void *ctx,char *myipaddr,struct LP_peerinfo *mypeer,int continue; if ( coin->electrum != 0 ) continue; - if ( coin->obooktime == 0 ) - continue; + //if ( coin->obooktime == 0 ) + // continue; if ( time(NULL) > coin->lastgetinfo+LP_GETINFO_INCR ) { if ( (height= LP_getheight(coin)) > coin->longestchain ) diff --git a/iguana/exchanges/LP_portfolio.c b/iguana/exchanges/LP_portfolio.c index e648e3381..b328e8138 100644 --- a/iguana/exchanges/LP_portfolio.c +++ b/iguana/exchanges/LP_portfolio.c @@ -89,7 +89,7 @@ char *LP_portfolio() { HASH_ITER(hh,LP_coins,coin,tmp) { - if ( coin->inactive != 0 || coin->obooktime == 0 ) + if ( coin->inactive != 0 || (coin->electrum != 0 && coin->obooktime == 0) ) continue; if ( iter == 0 ) {