diff options
author | Wenbiao Zheng <delweng@gmail.com> | 2018-05-24 20:55:20 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-05-24 20:55:20 +0800 |
commit | d6ed2f67a8cdb07ce7b4eaea93452afb0cdbaa23 (patch) | |
tree | 6f7cc281ee2b62c00bc609936a477ba89ad7df1b /trie/trie.go | |
parent | 54294b45b10bbcdfd0cd64292cbd05d66d12ffd5 (diff) | |
download | go-tangerine-d6ed2f67a8cdb07ce7b4eaea93452afb0cdbaa23.tar go-tangerine-d6ed2f67a8cdb07ce7b4eaea93452afb0cdbaa23.tar.gz go-tangerine-d6ed2f67a8cdb07ce7b4eaea93452afb0cdbaa23.tar.bz2 go-tangerine-d6ed2f67a8cdb07ce7b4eaea93452afb0cdbaa23.tar.lz go-tangerine-d6ed2f67a8cdb07ce7b4eaea93452afb0cdbaa23.tar.xz go-tangerine-d6ed2f67a8cdb07ce7b4eaea93452afb0cdbaa23.tar.zst go-tangerine-d6ed2f67a8cdb07ce7b4eaea93452afb0cdbaa23.zip |
eth, node, trie: fix minor typos (#16802)
Diffstat (limited to 'trie/trie.go')
-rw-r--r-- | trie/trie.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |