|
@ -1921,8 +1921,8 @@ char *LP_autosplit(struct iguana_info *coin) |
|
|
else balance = LP_RTsmartbalance(coin); |
|
|
else balance = LP_RTsmartbalance(coin); |
|
|
if ( (txfee= coin->txfee) == 0 ) // BTC
|
|
|
if ( (txfee= coin->txfee) == 0 ) // BTC
|
|
|
txfee = LP_txfeecalc(coin,0,500); |
|
|
txfee = LP_txfeecalc(coin,0,500); |
|
|
balance -= coin->txfee - 0.001; |
|
|
balance -= txfee - 0.001; |
|
|
if ( balance > coin->txfee && balance >= 1000000 ) |
|
|
if ( balance > txfee && balance >= 1000000 ) |
|
|
{ |
|
|
{ |
|
|
halfval = (balance / 100) * 45; |
|
|
halfval = (balance / 100) * 45; |
|
|
argjson = cJSON_CreateObject(); |
|
|
argjson = cJSON_CreateObject(); |
|
|