eth, node, trie: fix minor typos (#16802)
This commit is contained in:
committed by
Péter Szilágyi
parent
54294b45b1
commit
d6ed2f67a8
@ -101,7 +101,7 @@ func New(root common.Hash, db *Database) (*Trie, error) {
|
||||
db: db,
|
||||
originalRoot: root,
|
||||
}
|
||||
if (root != common.Hash{}) && root != emptyRoot {
|
||||
if root != (common.Hash{}) && root != emptyRoot {
|
||||
rootnode, err := trie.resolveHash(root[:], nil)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Reference in New Issue
Block a user