mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
fix to replay more blocks
This commit is contained in:
parent
a80c2aa8b5
commit
a72e7d94a2
1 changed files with 1 additions and 1 deletions
|
|
@ -1082,7 +1082,7 @@ func (s *StateDB) clearJournalAndRefund() {
|
||||||
func (s *StateDB) deleteStorage(addr common.Address, addrHash common.Hash, root common.Hash) (bool, map[common.Hash][]byte, *trienode.NodeSet, error) {
|
func (s *StateDB) deleteStorage(addr common.Address, addrHash common.Hash, root common.Hash) (bool, map[common.Hash][]byte, *trienode.NodeSet, error) {
|
||||||
// verkle: a deletion is akin to overwriting with 0s
|
// verkle: a deletion is akin to overwriting with 0s
|
||||||
if s.GetTrie().IsVerkle() {
|
if s.GetTrie().IsVerkle() {
|
||||||
return false, nil, nil, nil
|
return false, nil, trienode.NewNodeSet(addrHash), nil
|
||||||
}
|
}
|
||||||
start := time.Now()
|
start := time.Now()
|
||||||
tr, err := s.db.OpenStorageTrie(s.originalRoot, addr, root, s.trie)
|
tr, err := s.db.OpenStorageTrie(s.originalRoot, addr, root, s.trie)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue