various: remove redundant parentheses (#15793)

This commit is contained in:
Furkan KAMACI
2018-01-03 15:14:47 +03:00
committed by Péter Szilágyi
parent 9d48dbf5c2
commit b8caba9709
12 changed files with 22 additions and 22 deletions

View File

@ -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++