Skip to content

Commit 8fd4c13

Browse files
authored
Revert "core/state/snapshot: be very noisy if the generator hits a trie error (ethereum#28178)"
This reverts commit 7cd6ef9.
1 parent 59cc7fb commit 8fd4c13

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

core/state/snapshot/generate.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -446,10 +446,6 @@ func (dl *diskLayer) generateRange(ctx *generatorContext, trieId *trie.ID, prefi
446446
internal += time.Since(istart)
447447
}
448448
if iter.Err != nil {
449-
// Trie errors should never happen. Still, in case of a bug, expose the
450-
// error here, as the outer code will presume errors are interrupts, not
451-
// some deeper issues.
452-
log.Error("State snapshotter failed to iterate trie", "err", err)
453449
return false, nil, iter.Err
454450
}
455451
// Delete all stale snapshot states remaining

0 commit comments

Comments
 (0)