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