Browse Source

Test

etomic
jl777 7 years ago
parent
commit
0c30756bd1
  1. 2
      iguana/exchanges/LP_transaction.c

2
iguana/exchanges/LP_transaction.c

@ -989,7 +989,7 @@ int32_t LP_vins_select(void *ctx,struct iguana_info *coin,int64_t *totalp,int64_
jaddi(vins,LP_inputjson(up->U.txid,up->U.vout,spendscriptstr));
if ( remains <= 0 && i >= numpre-1 )
break;
if ( numunspents == 0 )
if ( numunspents < 0 )
{
printf("total %.8f not enough for amount %.8f\n",dstr(total),dstr(amount));
return(0);

Loading…
Cancel
Save