diff options
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 c211e7554..7c1b5e1b6 100644 --- a/trie/trie.go +++ b/trie/trie.go @@ -489,7 +489,7 @@ func (t *Trie) Commit() (root common.Hash, err error) { func (t *Trie) CommitTo(db DatabaseWriter) (root common.Hash, err error) { hash, cached, err := t.hashRoot(db) if err != nil { - return (common.Hash{}), err + return common.Hash{}, err } t.root = cached t.cachegen++ |