core/state: fix typo in comment (#29639)

pull/29879/head
牛晓婕 5 months ago committed by GitHub
parent 2f0e63e5ac
commit e26fa9e40e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      core/state/statedb.go

@ -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
}

Loading…
Cancel
Save