diff --git a/consensus/ethash/consensus.go b/consensus/ethash/consensus.go index 98462a70d79c..1d857e1f9ff3 100644 --- a/consensus/ethash/consensus.go +++ b/consensus/ethash/consensus.go @@ -321,7 +321,7 @@ func (ethash *Ethash) verifyHeader(chain consensus.ChainHeaderReader, header, pa } // Wemix: Verify SPoA block if chain.Config().IsMontBlanc(header.Number) { - return fmt.Errorf("go-wemix does not support mont blanc fork") + return fmt.Errorf("go-wemix does not support blocks after MontBlanc hard fork") } // Wemix: Check if it's generated and signed by a registered node if !wemixminer.IsPoW() && !wemixminer.VerifyBlockSig(header.Number, header.Coinbase, header.MinerNodeId, header.Root, header.MinerNodeSig, chain.Config().IsPangyo(header.Number)) { diff --git a/miner/worker.go b/miner/worker.go index 1b63dc611cfa..bd49dd676304 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -1597,9 +1597,9 @@ func (w *worker) commitWork(interrupt *int32, noempty bool, timestamp int64) { } parent := w.chain.CurrentBlock() height := new(big.Int).Add(parent.Number(), common.Big1) - // Wemix: Skip blocks after mont blanc fork + // Wemix: Skip blocks after MontBlanc hard fork if w.chain.Config().IsMontBlanc(height) { - log.Warn("go-wemix skips mining due to mont blanc fork", "height", height, "parent-hash", parent.Hash()) + log.Warn("go-wemix skips mining due to MontBlanc hard fork", "height", height, "parent-hash", parent.Hash()) return } if !wemixminer.IsPoW() {