diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index e5c1cad47..e614cbc49 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -598,7 +598,7 @@ int32_t LP_importaddress(char *symbol,char *address) double _LP_getestimatedrate(struct iguana_info *coin) { char buf[512],*retstr; cJSON *errjson; double rate = 0.00000020; - if ( coin->rate == 0. || time(NULL) > time(NULL) > coin->ratetime+6 ) + if ( coin->rate == 0. || time(NULL) > time(NULL) > coin->ratetime+30 ) { sprintf(buf,"[%d]",strcmp(coin->symbol,"BTC") == 0 ? 6 : 2); if ( (retstr= LP_apicall(coin,coin->electrum==0?"estimatefee" : "blockchain.estimatefee",buf)) != 0 ) @@ -632,7 +632,7 @@ double LP_getestimatedrate(struct iguana_info *coin) double rate = 0.00000020; if ( coin == 0 ) return(0.0001); - if ( coin->txfee == 0 || coin->rate == 0. || time(NULL) > coin->ratetime+60 ) + if ( coin->txfee == 0 || coin->rate == 0. || time(NULL) > coin->ratetime+600 ) { rate = _LP_getestimatedrate(coin); if ( rate != 0. )