From 12f971fb2d8dd8e857da9e4eca3b5a2c58ddcab7 Mon Sep 17 00:00:00 2001
From: hsyodyssey <47173566+hsyodyssey@users.noreply.github.com>
Date: Mon, 4 Oct 2021 18:16:50 +0800
Subject: [PATCH] core/state: fix typo in comment (#23665)

---
 core/state/state_object.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/state/state_object.go b/core/state/state_object.go
index 73e9cb78e..138fcbdec 100644
--- a/core/state/state_object.go
+++ b/core/state/state_object.go
@@ -228,7 +228,7 @@ func (s *stateObject) GetCommittedState(db Database, key common.Hash) common.Has
 		}
 		enc, err = s.db.snap.Storage(s.addrHash, crypto.Keccak256Hash(key.Bytes()))
 	}
-	// If snapshot unavailable or reading from it failed, load from the database
+	// If the snapshot is unavailable or reading from it fails, load from the database.
 	if s.db.snap == nil || err != nil {
 		if meter != nil {
 			// If we already spent time checking the snapshot, account for it
-- 
GitLab