jl777 7 years ago
parent
commit
ce9fd69b83
  1. 2
      iguana/exchanges/LP_include.h
  2. 2
      iguana/exchanges/LP_rpc.c

2
iguana/exchanges/LP_include.h

@ -48,7 +48,7 @@
#define LP_MINVOL 20
#define LP_MINCLIENTVOL 50
#define LP_MINSIZE_TXFEEMULT 10
#define LP_REQUIRED_TXFEE 0.9
#define LP_REQUIRED_TXFEE 0.8
#define LP_DEXFEE(destsatoshis) ((destsatoshis) / INSTANTDEX_INSURANCEDIV)
#define LP_DEPOSITSATOSHIS(satoshis) ((satoshis) + (satoshis >> 3))

2
iguana/exchanges/LP_rpc.c

@ -604,7 +604,7 @@ double LP_getestimatedrate(struct iguana_info *coin)
{
if ( coin->rate == 0. || time(NULL) > coin->ratetime+13 )
{
sprintf(buf,"[%d]",3);
sprintf(buf,"[%d]",6);
if ( (retstr= LP_apicall(coin,coin->electrum==0?"estimatefee" : "blockchain.estimatefee",buf)) != 0 )
{
if ( retstr[0] != '-' )

Loading…
Cancel
Save