From 82c508539939e025ad9f31aa784f6b4307afcbbb Mon Sep 17 00:00:00 2001 From: aaronbuchwald Date: Tue, 3 Aug 2021 02:06:58 -0400 Subject: [PATCH] cre/state: fix outdated statedb Prepare comment (#23320) --- core/state/statedb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/state/statedb.go b/core/state/statedb.go index db7451305..61f0f5b9f 100644 --- a/core/state/statedb.go +++ b/core/state/statedb.go @@ -878,7 +878,7 @@ func (s *StateDB) IntermediateRoot(deleteEmptyObjects bool) common.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. func (s *StateDB) Prepare(thash common.Hash, ti int) { s.thash = thash