various: remove redundant parentheses (#15793)
This commit is contained in:
committed by
Péter Szilágyi
parent
9d48dbf5c2
commit
b8caba9709
@ -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++
|
||||
|
Reference in New Issue
Block a user