core/rawdb: fix misleading comment in HasTrieNode (PathScheme)

This commit is contained in:
radik878 2025-09-12 16:21:46 +03:00 committed by GitHub
parent 5d09aa316f
commit 50bd43a122
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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))
}