jl777 7 years ago
parent
commit
2c36b791b2
  1. 2
      iguana/exchanges/LP_utxo.c

2
iguana/exchanges/LP_utxo.c

@ -457,7 +457,7 @@ struct LP_address *LP_address_utxo_reset(struct iguana_info *coin)
if ( IAMLP != 0 && time(NULL) < coin->lastresetutxo+30 ) if ( IAMLP != 0 && time(NULL) < coin->lastresetutxo+30 )
return(ap); return(ap);
coin->lastresetutxo = (uint32_t)time(NULL); coin->lastresetutxo = (uint32_t)time(NULL);
if ( (array= LP_listunspent(coin->symbol,coin->smartaddr,zero,zero)) != 0 ) if ( coin->electrum != 0 && (array= LP_listunspent(coin->symbol,coin->smartaddr,zero,zero)) != 0 )
{ {
//printf("clear ap->utxos\n"); //printf("clear ap->utxos\n");
DL_FOREACH_SAFE(ap->utxos,up,tmp) DL_FOREACH_SAFE(ap->utxos,up,tmp)

Loading…
Cancel
Save