Browse Source

Test

pass-iguana-arg
jl777 7 years ago
parent
commit
f18b9268a2
  1. 2
      iguana/exchanges/LP_transaction.c

2
iguana/exchanges/LP_transaction.c

@ -1922,7 +1922,7 @@ char *LP_autosplit(struct iguana_info *coin)
if ( (txfee= coin->txfee) == 0 ) // BTC
txfee = LP_txfeecalc(coin,0,500);
balance -= txfee - 0.001;
printf("balance %.8f, txfee %.8f, threshold %.8f\n",dstr(balance),dstr(txstr),dstr((1000000 - (txfee - 0.001))));
printf("balance %.8f, txfee %.8f, threshold %.8f\n",dstr(balance),dstr(txfee),dstr((1000000 - (txfee - 0.001))));
if ( balance > txfee && balance >= (1000000 - (txfee - 0.001)) )
{
halfval = (balance / 100) * 45;

Loading…
Cancel
Save