jl777 7 years ago
parent
commit
e0c397e0ce
  1. 2
      iguana/exchanges/LP_include.h
  2. 2
      iguana/exchanges/LP_ordermatch.c

2
iguana/exchanges/LP_include.h

@ -101,7 +101,7 @@ void emscripten_usleep(int32_t x); // returns immediate, no sense for sleeping
#define LP_MINVOL 20
#define LP_MINCLIENTVOL 200
#define LP_MINSIZE_TXFEEMULT 10
#define LP_REQUIRED_TXFEE 0.8
#define LP_REQUIRED_TXFEE 0.75
#define LP_DEXFEE(destsatoshis) ((destsatoshis) / INSTANTDEX_INSURANCEDIV)
#define LP_DEPOSITSATOSHIS(satoshis) ((satoshis) + (satoshis >> 3))

2
iguana/exchanges/LP_ordermatch.c

@ -71,8 +71,6 @@ uint64_t LP_txfeecalc(struct iguana_info *coin,uint64_t txfee,int32_t txlen)
if ( txlen == 0 )
txlen = LP_AVETXSIZE;
coin->rate = LP_getestimatedrate(coin);
if ( coin->electrum == 0 )
coin->rate *= 1.25;
if ( (txfee= SATOSHIDEN * coin->rate * txlen) <= 20000 )
{
//coin->rate = -1.;

Loading…
Cancel
Save