From 30ce3bcadcd1522d53d7a88016e231c93644b8f8 Mon Sep 17 00:00:00 2001 From: Matthew Halpern Date: Fri, 15 Feb 2019 07:09:09 -0800 Subject: [PATCH] les: remove redundant parentheses --- les/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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