Skip to content

Commit

Permalink
core/state: small fix in hooked statedb (#30732)
Browse files Browse the repository at this point in the history
fixes a very tiny bug
  • Loading branch information
holiman authored Nov 5, 2024
1 parent 229ce64 commit e56bbd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/state/statedb_hooked.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func (s *hookedStateDB) Snapshot() int {
}

func (s *hookedStateDB) AddPreimage(hash common.Hash, bytes []byte) {
s.inner.Snapshot()
s.inner.AddPreimage(hash, bytes)
}

func (s *hookedStateDB) Witness() *stateless.Witness {
Expand Down

0 comments on commit e56bbd7

Please sign in to comment.