mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
Merge pull request #6133 from xyzmaker123/fix-pause-in-fee-service
Fix pause between fee requests
This commit is contained in:
commit
dde4199a15
1 changed files with 2 additions and 1 deletions
|
@ -122,7 +122,7 @@ public class FeeService {
|
|||
private long txFeePerVbyte = BTC_DEFAULT_TX_FEE;
|
||||
private Map<String, Long> timeStampMap;
|
||||
@Getter
|
||||
private long lastRequest;
|
||||
private long lastRequest = 0;
|
||||
@Getter
|
||||
private long minFeePerVByte;
|
||||
private long epochInSecondAtLastRequest;
|
||||
|
@ -176,6 +176,7 @@ public class FeeService {
|
|||
log.debug("We got a requestFees called again before min pause of {} minutes has passed.",
|
||||
MIN_PAUSE_BETWEEN_REQUESTS_IN_MIN);
|
||||
success();
|
||||
return;
|
||||
}
|
||||
|
||||
lastRequest = now;
|
||||
|
|
Loading…
Add table
Reference in a new issue