Browse Source

Put back utxo autosplit.

pass-iguana-arg
Artem Pikulin 7 years ago
parent
commit
21e44c948d
  1. 4
      iguana/exchanges/LP_ordermatch.c

4
iguana/exchanges/LP_ordermatch.c

@ -1489,9 +1489,9 @@ char *LP_autobuy(void *ctx,int32_t fomoflag,char *myipaddr,int32_t mypubsock,cha
if ( time(NULL) > relcoin->lastautosplit+300 ) if ( time(NULL) > relcoin->lastautosplit+300 )
{ {
relcoin->lastautosplit = (uint32_t)time(NULL); relcoin->lastautosplit = (uint32_t)time(NULL);
//return(LP_autosplit(relcoin)); return(LP_autosplit(relcoin));
} }
//return(clonestr("{\"error\":\"not enough utxo, please make more deposits\"}")); return(clonestr("{\"error\":\"not enough utxo, please make more deposits\"}"));
} }
LP_txfees(&txfee,&desttxfee,base,rel); LP_txfees(&txfee,&desttxfee,base,rel);
if ( txfee != 0 && txfee < 10000 ) if ( txfee != 0 && txfee < 10000 )

Loading…
Cancel
Save