eth, node, trie: fix minor typos (#16802)

This commit is contained in:
Wenbiao Zheng authored and Péter Szilágyi committed 2018-05-24 15:55:20 +03:00
1 parent 54294b45b1
commit d6ed2f67a8
3 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -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