diff --git a/les/handler.go b/les/handler.go index 46a1ed2d7b..63ecc8f76a 100644 --- a/les/handler.go +++ b/les/handler.go @@ -477,7 +477,7 @@ func (pm *ProtocolManager) handleMsg(p *peer) error { unknown = true } else { 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: // Hash based traversal towards the leaf block