diff --git a/core/blockchain.go b/core/blockchain.go index 4e4a7355d..e74a5da58 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -400,14 +400,13 @@ func NewBlockChain(db ethdb.Database, cacheConfig *CacheConfig, genesis *Genesis //fix pbss snapshot if needed if bc.triedb.Scheme() == rawdb.PathScheme { - log.Info("pbss snapshot validation") + log.Debug("pbss snapshot validation") currentSafe := bc.CurrentSafeBlock() currentFinalize := bc.CurrentFinalBlock() if currentSafe.Number.Uint64() > head.Number.Uint64() || currentFinalize.Number.Uint64() > head.Number.Uint64() { log.Info("current unsafe is behind safe, reset") bc.hc.SetHead(head.Number.Uint64(), nil, createDelFn(bc)) - //想办法 bc.SetSafe(head) bc.SetFinalized(head) }