From e1469bc414eb1cc63ccb19cbc82ccaa930fb0d7e Mon Sep 17 00:00:00 2001 From: jsvisa Date: Tue, 26 Aug 2025 06:31:36 +0800 Subject: [PATCH] fix: wait for snapshot root is ready --- core/state/state_sizer.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/state/state_sizer.go b/core/state/state_sizer.go index 8670f3ec24..3692be85f8 100644 --- a/core/state/state_sizer.go +++ b/core/state/state_sizer.go @@ -360,11 +360,6 @@ wait: done chan buildResult ) - // Add snapshot root to updates map when snapshot completes - if root := rawdb.ReadSnapshotRoot(t.db); root != (common.Hash{}) { - updates[root] = &stateUpdate{root: root} - } - for { select { case u := <-t.updateCh: