From 50bd43a122f572a1768a8634b75bb3a9a62e5509 Mon Sep 17 00:00:00 2001 From: radik878 Date: Fri, 12 Sep 2025 16:21:46 +0300 Subject: [PATCH] core/rawdb: fix misleading comment in HasTrieNode (PathScheme) --- core/rawdb/accessors_trie.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/rawdb/accessors_trie.go b/core/rawdb/accessors_trie.go index e154ab527b..c72e725c6e 100644 --- a/core/rawdb/accessors_trie.go +++ b/core/rawdb/accessors_trie.go @@ -150,7 +150,7 @@ func HasTrieNode(db ethdb.KeyValueReader, owner common.Hash, path []byte, hash c if len(blob) == 0 { return false } - return crypto.Keccak256Hash(blob) == hash // exists but not match + return crypto.Keccak256Hash(blob) == hash // exists and match default: panic(fmt.Sprintf("Unknown scheme %v", scheme)) }