les: remove redundant parentheses

This commit is contained in:
Matthew Halpern 2019-02-15 07:09:09 -08:00
parent 7f6b05aa43
commit 30ce3bcadc

View file

@ -477,7 +477,7 @@ func (pm *ProtocolManager) handleMsg(p *peer) error {
unknown = true unknown = true
} else { } else {
query.Origin.Hash, query.Origin.Number = pm.blockchain.GetAncestor(query.Origin.Hash, query.Origin.Number, ancestor, &maxNonCanonical) query.Origin.Hash, query.Origin.Number = pm.blockchain.GetAncestor(query.Origin.Hash, query.Origin.Number, ancestor, &maxNonCanonical)
unknown = (query.Origin.Hash == common.Hash{}) unknown = query.Origin.Hash == common.Hash{}
} }
case hashMode && !query.Reverse: case hashMode && !query.Reverse:
// Hash based traversal towards the leaf block // Hash based traversal towards the leaf block