mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
les: remove redundant parentheses
This commit is contained in:
parent
7f6b05aa43
commit
30ce3bcadc
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue