Skip to content

Commit b04d6c4

Browse files
committed
core/state: small fix in hooked statedb (#30732)
fixes a very tiny bug
1 parent 8a3a697 commit b04d6c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/state/statedb_hooked.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ func (s *hookedStateDB) Snapshot() int {
150150
}
151151

152152
func (s *hookedStateDB) AddPreimage(hash common.Hash, bytes []byte) {
153-
s.inner.Snapshot()
153+
s.inner.AddPreimage(hash, bytes)
154154
}
155155

156156
func (s *hookedStateDB) Witness() *stateless.Witness {

0 commit comments

Comments
 (0)