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 | |
parent | 54294b45b10bbcdfd0cd64292cbd05d66d12ffd5 (diff) | |
download | dexon-d6ed2f67a8cdb07ce7b4eaea93452afb0cdbaa23.tar dexon-d6ed2f67a8cdb07ce7b4eaea93452afb0cdbaa23.tar.gz dexon-d6ed2f67a8cdb07ce7b4eaea93452afb0cdbaa23.tar.bz2 dexon-d6ed2f67a8cdb07ce7b4eaea93452afb0cdbaa23.tar.lz dexon-d6ed2f67a8cdb07ce7b4eaea93452afb0cdbaa23.tar.xz dexon-d6ed2f67a8cdb07ce7b4eaea93452afb0cdbaa23.tar.zst dexon-d6ed2f67a8cdb07ce7b4eaea93452afb0cdbaa23.zip |
eth, node, trie: fix minor typos (#16802)
Diffstat (limited to 'trie')
-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 |