From 1b8c6b97b52d2247de246f9ce1514c31f7795cbd Mon Sep 17 00:00:00 2001 From: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Date: Mon, 20 Apr 2026 13:28:14 +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 f9d3400aed..5df0acbb9b 100644 --- a/core/state/reader.go +++ b/core/state/reader.go @@ -153,7 +153,7 @@ func (r *flatReader) Storage(addr common.Address, key common.Hash) (common.Hash, // // mptTrieReader is safe for concurrent read. type mptTrieReader 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 mainTrie Trie // Main trie, resolved in constructor, not thread-safe @@ -194,7 +194,7 @@ func (r *mptTrieReader) account(addr common.Address) (*types.StateAccount, error // 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 *mptTrieReader) Account(addr common.Address) (*types.StateAccount, error) { r.lock.Lock()