mirror of
https://github.com/btcsuite/btcd.git
synced 2025-03-10 17:26:07 +01:00
Fix the unknown new rules activation warning
This commit is contained in:
parent
47885ab870
commit
1e331153b4
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ func (b *BlockChain) warnUnknownRuleActivations(node *blockNode) error {
|
||||||
window := int32(checker.MinerConfirmationWindow())
|
window := int32(checker.MinerConfirmationWindow())
|
||||||
activationHeight := window - (node.height % window)
|
activationHeight := window - (node.height % window)
|
||||||
log.Warnf("Unknown new rules are about to activate in "+
|
log.Warnf("Unknown new rules are about to activate in "+
|
||||||
"%d blocks (bit %d)", bit, activationHeight)
|
"%d blocks (bit %d)", activationHeight, bit)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue