From 138993e926d6a9188aedbe326176ccc4b747e95e Mon Sep 17 00:00:00 2001 From: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Date: Mon, 20 Apr 2026 13:27:39 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- core/state/reader.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/state/reader.go b/core/state/reader.go index f87e60a05c..f9d3400aed 100644 --- a/core/state/reader.go +++ b/core/state/reader.go @@ -246,7 +246,7 @@ func (r *mptTrieReader) Storage(addr common.Address, key common.Hash) (common.Ha // // ubtTrieReader is safe for concurrent read. type ubtTrieReader struct { - root common.Hash // State root which uniquely represent a state + root common.Hash // State root which uniquely represents a state db *triedb.Database // Database for loading trie tr Trie // Referenced unified binary trie lock sync.Mutex // Lock for protecting concurrent read @@ -297,7 +297,7 @@ func newUBTTrieReader(root common.Hash, db *triedb.Database) (*ubtTrieReader, er // Account implements StateReader, retrieving the account specified by the address. // -// An error will be returned if the trie state is corrupted. An nil account +// An error will be returned if the trie state is corrupted. A nil account // will be returned if it's not existent in the trie. func (r *ubtTrieReader) Account(addr common.Address) (*types.StateAccount, error) { r.lock.Lock()