Skip to content

Commit

Permalink
core/state: fix typo in comment (ethereum#23665)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsyodyssey authored and zzyalbert committed Nov 26, 2021
1 parent c15fce3 commit 8ada973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/state/state_object.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ func (s *stateObject) GetCommittedState(db Database, key common.Hash) common.Has
}
enc, err = s.db.snap.Storage(s.addrHash, crypto.HashDataWithCache(nil, key[:]))
}
// If snapshot unavailable or reading from it failed, load from the database
// If the snapshot is unavailable or reading from it fails, load from the database.
if s.db.snap == nil || err != nil {
if meter != nil {
// If we already spent time checking the snapshot, account for it
Expand Down

0 comments on commit 8ada973

Please sign in to comment.