mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
core: more goerli cleanup:
This commit is contained in:
parent
7a4bd06104
commit
7e73845e91
2 changed files with 4 additions and 6 deletions
File diff suppressed because one or more lines are too long
|
|
@ -270,11 +270,10 @@ func (p *Pruner) Prune(root common.Hash) error {
|
|||
// is the presence of root can indicate the presence of the
|
||||
// entire trie.
|
||||
if !rawdb.HasLegacyTrieNode(p.db, root) {
|
||||
// The special case is for clique based networks(goerli
|
||||
// and some other private networks), it's possible that two
|
||||
// consecutive blocks will have same root. In this case snapshot
|
||||
// difflayer won't be created. So HEAD-127 may not paired with
|
||||
// head-127 layer. Instead the paired layer is higher than the
|
||||
// The special case is for clique based networks, it's possible
|
||||
// that two consecutive blocks will have same root. In this case
|
||||
// snapshot difflayer won't be created. So HEAD-127 may not paired
|
||||
// with head-127 layer. Instead the paired layer is higher than the
|
||||
// bottom-most diff layer. Try to find the bottom-most snapshot
|
||||
// layer with state available.
|
||||
//
|
||||
|
|
|
|||
Loading…
Reference in a new issue