mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 08:49:29 +00:00
core/state/snapshot: return err if err != nil
This commit is contained in:
parent
efe58eac00
commit
f50f328463
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue