mirror of
https://github.com/mempool/mempool.git
synced 2025-01-17 18:52:34 +01:00
Increase Bisq block height divergence warning to 10 blocks for Tor issues
This commit is contained in:
parent
42ad068dd2
commit
54a276439d
@ -43,7 +43,7 @@ class Bisq {
|
||||
}
|
||||
|
||||
handleNewBitcoinBlock(block: BlockExtended): void {
|
||||
if (block.height - 2 > this.latestBlockHeight && this.latestBlockHeight !== 0) {
|
||||
if (block.height - 10 > this.latestBlockHeight && this.latestBlockHeight !== 0) {
|
||||
logger.warn(`Bitcoin block height (#${block.height}) has diverged from the latest Bisq block height (#${this.latestBlockHeight}). Restarting watchers...`);
|
||||
this.startTopDirectoryWatcher();
|
||||
this.startSubDirectoryWatcher();
|
||||
|
Loading…
Reference in New Issue
Block a user