jl777 7 years ago
parent
commit
2956f2bf8b
  1. 2
      iguana/exchanges/LP_transaction.c
  2. 4
      iguana/exchanges/LP_utxo.c

2
iguana/exchanges/LP_transaction.c

@ -1458,7 +1458,7 @@ int32_t basilisk_rawtx_gen(void *ctx,char *str,uint32_t swapstarted,uint8_t *pub
rawtx->I.completed = 1; rawtx->I.completed = 1;
rawtx->I.signedtxid = jbits256(retjson,"txid"); rawtx->I.signedtxid = jbits256(retjson,"txid");
retval = 0; retval = 0;
} else printf("rawtx withdraw error? (%s)\n",retstr); } else printf("rawtx withdraw error? (%s)\n",jprint(argjson,0));
free_json(retjson); free_json(retjson);
} }
free(retstr); free(retstr);

4
iguana/exchanges/LP_utxo.c

@ -454,8 +454,8 @@ struct LP_address *LP_address_utxo_reset(struct iguana_info *coin)
printf("LP_address_utxo_reset: cant find address data\n"); printf("LP_address_utxo_reset: cant find address data\n");
return(0); return(0);
} }
if ( IAMLP != 0 && time(NULL) < coin->lastresetutxo+60 ) //if ( IAMLP != 0 && time(NULL) < coin->lastresetutxo+60 )
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 ( (array= LP_listunspent(coin->symbol,coin->smartaddr,zero,zero)) != 0 )
{ {

Loading…
Cancel
Save