Fix the unknown new rules activation warning

This commit is contained in:
Gregory Trubetskoy 2017-08-09 19:10:28 -04:00
parent 47885ab870
commit 1e331153b4

View file

@ -275,7 +275,7 @@ func (b *BlockChain) warnUnknownRuleActivations(node *blockNode) error {
window := int32(checker.MinerConfirmationWindow())
activationHeight := window - (node.height % window)
log.Warnf("Unknown new rules are about to activate in "+
"%d blocks (bit %d)", bit, activationHeight)
"%d blocks (bit %d)", activationHeight, bit)
}
}