From e55e9cdd76d3b1716cdc65bec955e829a982a776 Mon Sep 17 00:00:00 2001 From: zjubfd <296179868@qq.com> Date: Tue, 9 Feb 2021 11:49:53 +0800 Subject: [PATCH] change the fork waring to debug to avoid confusion (#73) --- consensus/parlia/parlia.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/parlia/parlia.go b/consensus/parlia/parlia.go index beefbfc4af95..72c47cb9f768 100644 --- a/consensus/parlia/parlia.go +++ b/consensus/parlia/parlia.go @@ -654,7 +654,7 @@ func (p *Parlia) Finalize(chain consensus.ChainReader, header *types.Header, sta } nextForkHash := forkid.NextForkHash(p.chainConfig, p.genesisHash, number) if !snap.isMajorityFork(hex.EncodeToString(nextForkHash[:])) { - log.Warn("there is a possible fork, and your client is not the majority. Please check...", "nextForkHash", hex.EncodeToString(nextForkHash[:])) + log.Debug("there is a possible fork, and your client is not the majority. Please check...", "nextForkHash", hex.EncodeToString(nextForkHash[:])) } // If the block is a epoch end block, verify the validator list // The verification can only be done when the state is ready, it can't be done in VerifyHeader.