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 {
|
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...`);
|
logger.warn(`Bitcoin block height (#${block.height}) has diverged from the latest Bisq block height (#${this.latestBlockHeight}). Restarting watchers...`);
|
||||||
this.startTopDirectoryWatcher();
|
this.startTopDirectoryWatcher();
|
||||||
this.startSubDirectoryWatcher();
|
this.startSubDirectoryWatcher();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user