Skip to content

Commit

Permalink
cre/state: fix outdated statedb Prepare comment (ethereum#23320)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbuchwald authored and atif-konasl committed Oct 15, 2021
1 parent 2f3d984 commit c1cc71f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/state/statedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c1cc71f

Please sign in to comment.