comment wording

This commit is contained in:
Jared Wasinger 2023-12-07 23:54:26 +08:00
parent ad5ff70a9b
commit 6039362bee

View file

@ -205,7 +205,7 @@ func (s *stateObject) GetCommittedState(key common.Hash) common.Hash {
} }
} }
if s.db.prefetcher != nil { if s.db.prefetcher != nil {
// always prefetch to ensure that read accounts will end up in the witness // always prefetch to ensure that read storage slots will end up in the witness
s.db.prefetcher.prefetch(s.addrHash, s.data.Root, s.address, [][]byte{key[:]}) s.db.prefetcher.prefetch(s.addrHash, s.data.Root, s.address, [][]byte{key[:]})
} }
// If the snapshot is unavailable or reading from it fails, load from the database. // If the snapshot is unavailable or reading from it fails, load from the database.