diff --git a/core/state/statedb_hooked.go b/core/state/statedb_hooked.go index 55b53ded40..3abb0fa65f 100644 --- a/core/state/statedb_hooked.go +++ b/core/state/statedb_hooked.go @@ -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 {