diff --git a/iguana/exchanges/LP_ordermatch.c b/iguana/exchanges/LP_ordermatch.c index fa2a51683..f3126f72d 100644 --- a/iguana/exchanges/LP_ordermatch.c +++ b/iguana/exchanges/LP_ordermatch.c @@ -871,9 +871,9 @@ struct LP_quoteinfo *LP_trades_gotrequest(void *ctx,struct LP_quoteinfo *qp,stru printf("request from blacklisted %s, ignore\n",bits256_str(str,qp->desthash)); return(0); } - printf("LP_address_utxo_reset.%s\n",coin->symbol); + //printf("LP_address_utxo_reset.%s\n",coin->symbol); LP_address_utxo_reset(coin); - printf("done LP_address_utxo_reset.%s\n",coin->symbol); + //printf("done LP_address_utxo_reset.%s\n",coin->symbol); if ( (butxo= LP_address_myutxopair(butxo,1,utxos,max,LP_coinfind(qp->srccoin),qp->coinaddr,qp->txfee,dstr(qp->destsatoshis),price,qp->desttxfee)) != 0 ) { strcpy(qp->gui,G.gui); diff --git a/iguana/exchanges/LP_utxo.c b/iguana/exchanges/LP_utxo.c index 58ea12c7a..b8614d65b 100644 --- a/iguana/exchanges/LP_utxo.c +++ b/iguana/exchanges/LP_utxo.c @@ -454,10 +454,10 @@ struct LP_address *LP_address_utxo_reset(struct iguana_info *coin) printf("LP_address_utxo_reset: cant find address data\n"); return(0); } - if ( IAMLP != 0 && time(NULL) < coin->lastresetutxo+30 ) + if ( IAMLP != 0 && time(NULL) < coin->lastresetutxo+600 ) return(ap); coin->lastresetutxo = (uint32_t)time(NULL); - if ( coin->electrum != 0 && (array= LP_listunspent(coin->symbol,coin->smartaddr,zero,zero)) != 0 ) + if ( (array= LP_listunspent(coin->symbol,coin->smartaddr,zero,zero)) != 0 ) { //printf("clear ap->utxos\n"); DL_FOREACH_SAFE(ap->utxos,up,tmp)