mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Revert "core/rawdb: no log if shutdown marker is notfound"
This reverts commit 72e9a72781.
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
3a9d2da93d
commit
fecb26c1b0
1 changed files with 1 additions and 3 deletions
|
|
@ -112,9 +112,7 @@ func PushUncleanShutdownMarker(db ethdb.KeyValueStore) ([]uint64, uint64, error)
|
|||
var uncleanShutdowns crashList
|
||||
// Read old data
|
||||
if data, err := db.Get(uncleanShutdownKey); err != nil {
|
||||
if err != ethdb.ErrNotFound {
|
||||
log.Warn("Error reading unclean shutdown markers", "error", err)
|
||||
}
|
||||
log.Warn("Error reading unclean shutdown markers", "error", err)
|
||||
} else if err := rlp.DecodeBytes(data, &uncleanShutdowns); err != nil {
|
||||
return nil, 0, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue