core/state: small fix in hooked statedb (#30732)

fixes a very tiny bug
This commit is contained in:
Martin HS 2024-11-05 18:29:37 +01:00
parent 8a3a697722
commit b04d6c4f42

View file

@ -150,7 +150,7 @@ func (s *hookedStateDB) Snapshot() int {
} }
func (s *hookedStateDB) AddPreimage(hash common.Hash, bytes []byte) { func (s *hookedStateDB) AddPreimage(hash common.Hash, bytes []byte) {
s.inner.Snapshot() s.inner.AddPreimage(hash, bytes)
} }
func (s *hookedStateDB) Witness() *stateless.Witness { func (s *hookedStateDB) Witness() *stateless.Witness {