Skip to content

Commit

Permalink
core/state: fix typo in comment (ethereum#29639)
Browse files Browse the repository at this point in the history
  • Loading branch information
niuxiaojie81 authored and jorgemmsilva committed Jun 17, 2024
1 parent c2ed58c commit dcec10a
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 @@ -351,7 +351,7 @@ func (s *StateDB) GetStorageRoot(addr common.Address) common.Hash {
return common.Hash{}
}

// TxIndex returns the current transaction index set by Prepare.
// TxIndex returns the current transaction index set by SetTxContext.
func (s *StateDB) TxIndex() int {
return s.txIndex
}
Expand Down

0 comments on commit dcec10a

Please sign in to comment.