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 committed by GitHub
parent 229ce6411a
commit e56bbd77a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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 {