aboutsummaryrefslogtreecommitdiffstats
path: root/trie
diff options
context:
space:
mode:
authorFurkan KAMACI <furkankamaci@gmail.com>2018-01-03 20:14:47 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-01-03 20:14:47 +0800
commitb8caba97099ee5eed33c3b80dd4ea540722e7d8f (patch)
tree36c3661d083d81bc52676ff9a030f6e02c91b29c /trie
parent9d48dbf5c2d0401042134d94997be1850bf8499b (diff)
downloaddexon-b8caba97099ee5eed33c3b80dd4ea540722e7d8f.tar.gz
dexon-b8caba97099ee5eed33c3b80dd4ea540722e7d8f.tar.zst
dexon-b8caba97099ee5eed33c3b80dd4ea540722e7d8f.zip
various: remove redundant parentheses (#15793)
Diffstat (limited to 'trie')
-rw-r--r--trie/trie.go2
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++