Răsfoiți Sursa

change the fork waring to debug to avoid confusion (#73)

zjubfd 4 ani în urmă
părinte
comite
e55e9cdd76
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      consensus/parlia/parlia.go

+ 1 - 1
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.