all: fix typos in comments (#21118)
This commit is contained in:
@ -399,7 +399,7 @@ func (db *Database) node(hash common.Hash) node {
|
||||
// Node retrieves an encoded cached trie node from memory. If it cannot be found
|
||||
// cached, the method queries the persistent database for the content.
|
||||
func (db *Database) Node(hash common.Hash) ([]byte, error) {
|
||||
// It doens't make sense to retrieve the metaroot
|
||||
// It doesn't make sense to retrieve the metaroot
|
||||
if hash == (common.Hash{}) {
|
||||
return nil, errors.New("not found")
|
||||
}
|
||||
|
Reference in New Issue
Block a user