From f50f3284635244ef0ee31f81c9f0b65c078e1af7 Mon Sep 17 00:00:00 2001 From: Weixie Cui Date: Sun, 24 May 2026 13:54:45 +0800 Subject: [PATCH] core/state/snapshot: return err if err != nil --- core/state/snapshot/utils.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/state/snapshot/utils.go b/core/state/snapshot/utils.go index c35c82f67a..0385f15568 100644 --- a/core/state/snapshot/utils.go +++ b/core/state/snapshot/utils.go @@ -33,6 +33,7 @@ import ( func CheckDanglingStorage(chaindb ethdb.KeyValueStore) error { if err := checkDanglingDiskStorage(chaindb); err != nil { log.Error("Database check error", "err", err) + return err } return checkDanglingMemStorage(chaindb) }