Browse Source

Test

etomic
jl777 7 years ago
parent
commit
1367f238fa
  1. 2
      iguana/exchanges/LP_transaction.c

2
iguana/exchanges/LP_transaction.c

@ -1218,7 +1218,7 @@ char *LP_createrawtransaction(cJSON **txobjp,int32_t *numvinsp,struct iguana_inf
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,(int32_t)(sizeof(utxos)/sizeof(*utxos)),ap,coin->smartaddr)) <= 0 )
{ {
if ( bits256_nonz(utxotxid) == 0 ) if ( bits256_nonz(utxotxid) == 0 )
{ {

Loading…
Cancel
Save