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

fixes a very tiny bug
pull/24729/head
Martin HS 8 hours ago committed by GitHub
parent 229ce6411a
commit e56bbd77a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      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 {

Loading…
Cancel
Save