Browse Source

Test

etomic
jl777 7 years ago
parent
commit
0eb9fd4328
  1. 6
      iguana/exchanges/LP_transaction.c

6
iguana/exchanges/LP_transaction.c

@ -1047,13 +1047,13 @@ char *LP_createrawtransaction(cJSON **txobjp,int32_t *numvinsp,struct iguana_inf
return(0); return(0);
} }
} }
if ( bits256_nonz(utxotxid) == 0 ) //if ( bits256_nonz(utxotxid) == 0 )
{ {
if ( (ap= LP_address_utxo_reset(coin)) == 0 ) if ( (ap= LP_address_utxo_reset(coin)) == 0 )
return(0); return(0);
} }
else if ( (ap= LP_address(coin,coin->smartaddr)) == 0 ) //else if ( (ap= LP_address(coin,coin->smartaddr)) == 0 )
return(0); // return(0);
memset(utxos,0,sizeof(utxos)); memset(utxos,0,sizeof(utxos));
if ( (numutxos= LP_address_utxo_ptrs(coin,0,utxos,max,ap,coin->smartaddr)) <= 0 ) if ( (numutxos= LP_address_utxo_ptrs(coin,0,utxos,max,ap,coin->smartaddr)) <= 0 )
{ {

Loading…
Cancel
Save