From d95e6bf2570ed79e4953abb2aa37744f2eb1c7d6 Mon Sep 17 00:00:00 2001 From: Alex Sharov <AskAlexSharov@gmail.com> Date: Thu, 12 May 2022 11:24:52 +0700 Subject: [PATCH] Parlia: less logs #4130 --- consensus/parlia/parlia.go | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/consensus/parlia/parlia.go b/consensus/parlia/parlia.go index 390da4d524..d313bc0d22 100644 --- a/consensus/parlia/parlia.go +++ b/consensus/parlia/parlia.go @@ -687,11 +687,13 @@ func (p *Parlia) finalize(header *types.Header, state *state.IntraBlockState, tx if err != nil { return nil, nil, err } - nextForkHash := forkid.NextForkHashFromForks(p.forks, p.genesisHash, number) - nextForkHashStr := hex.EncodeToString(nextForkHash[:]) - if !snap.isMajorityFork(nextForkHashStr) { - log.Debug("[parlia] there is a possible fork, and your client is not the majority. Please check...", "nextForkHash", nextForkHashStr) - } + /* + nextForkHash := forkid.NextForkHashFromForks(p.forks, p.genesisHash, number) + nextForkHashStr := hex.EncodeToString(nextForkHash[:]) + if !snap.isMajorityFork(nextForkHashStr) { + log.Debug("[parlia] there is a possible fork, and your client is not the majority. Please check...", "nextForkHash", nextForkHashStr) + } + */ // If the block is an 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. if number%p.config.Epoch == 0 { -- GitLab