cre/state: fix outdated statedb Prepare comment (#23320)

pull/23324/head
aaronbuchwald 3 years ago committed by GitHub
parent 95bbd46eab
commit 82c5085399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      core/state/statedb.go

@ -878,7 +878,7 @@ func (s *StateDB) IntermediateRoot(deleteEmptyObjects bool) common.Hash {
return s.trie.Hash() return s.trie.Hash()
} }
// Prepare sets the current transaction hash and index and block hash which is // Prepare sets the current transaction hash and index which are
// used when the EVM emits new state logs. // used when the EVM emits new state logs.
func (s *StateDB) Prepare(thash common.Hash, ti int) { func (s *StateDB) Prepare(thash common.Hash, ti int) {
s.thash = thash s.thash = thash

Loading…
Cancel
Save