We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b49047f commit 47cdc30Copy full SHA for 47cdc30
core/state/statedb.go
@@ -994,7 +994,7 @@ func (s *StateDB) getStateObject(addr common.Address) *stateObject {
994
var data *types.StateAccount
995
if s.snap != nil {
996
start := time.Now()
997
- acc, err := s.snap.Account(crypto.HashData(s.hasher, addr.Bytes()))
+ acc, err := s.snap.Account(crypto.HashData(crypto.NewKeccakState(), addr.Bytes()))
998
s.SnapshotAccountReads += time.Since(start)
999
if err == nil {
1000
if acc == nil {
0 commit comments