jl777 7 years ago
parent
commit
e9113f5897
  1. 4
      iguana/exchanges/LP_ordermatch.c

4
iguana/exchanges/LP_ordermatch.c

@ -26,11 +26,11 @@ uint64_t LP_txfeecalc(struct iguana_info *coin,uint64_t txfee)
if ( strcmp(coin->symbol,"BTC") == 0 )
{
coin->rate = LP_getestimatedrate(coin);
if ( (txfee= coin->rate * LP_AVETXSIZE) < LP_MIN_TXFEE )
if ( (txfee= coin->rate * LP_AVETXSIZE) <= LP_MIN_TXFEE )
{
coin->rate = 0.;
coin->rate = _LP_getestimatedrate(coin);
if ( (txfee= coin->rate * LP_AVETXSIZE) < LP_MIN_TXFEE )
if ( (txfee= coin->rate * LP_AVETXSIZE) <= LP_MIN_TXFEE )
txfee = LP_MIN_TXFEE;
}
} else txfee = coin->txfee;

Loading…
Cancel
Save