From d6ed2f67a8cdb07ce7b4eaea93452afb0cdbaa23 Mon Sep 17 00:00:00 2001 From: Wenbiao Zheng Date: Thu, 24 May 2018 20:55:20 +0800 Subject: eth, node, trie: fix minor typos (#16802) --- trie/trie.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trie') diff --git a/trie/trie.go b/trie/trie.go index 31a404e3a..30543c549 100644 --- a/trie/trie.go +++ b/trie/trie.go @@ -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 -- cgit v1.2.3