From 0fd2830839c6ef15763d1ed7d955b9fb86303724 Mon Sep 17 00:00:00 2001 From: niuxiaojie81 <85773309@qq.com> Date: Wed, 24 Apr 2024 16:59:20 +0800 Subject: [PATCH] core/state: fix method reference error in comment --- 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 ab152dd18d..f9c1603f02 100644 --- a/core/state/statedb.go +++ b/core/state/statedb.go @@ -312,7 +312,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 }