diff options
author | Furkan KAMACI <furkankamaci@gmail.com> | 2018-01-03 20:14:47 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-01-03 20:14:47 +0800 |
commit | b8caba97099ee5eed33c3b80dd4ea540722e7d8f (patch) | |
tree | 36c3661d083d81bc52676ff9a030f6e02c91b29c /eth | |
parent | 9d48dbf5c2d0401042134d94997be1850bf8499b (diff) | |
download | dexon-b8caba97099ee5eed33c3b80dd4ea540722e7d8f.tar.gz dexon-b8caba97099ee5eed33c3b80dd4ea540722e7d8f.tar.zst dexon-b8caba97099ee5eed33c3b80dd4ea540722e7d8f.zip |
various: remove redundant parentheses (#15793)
Diffstat (limited to 'eth')
-rw-r--r-- | eth/handler.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eth/handler.go b/eth/handler.go index 31c311687..074cffd96 100644 --- a/eth/handler.go +++ b/eth/handler.go @@ -394,14 +394,14 @@ func (pm *ProtocolManager) handleMsg(p *peer) error { case query.Reverse: // Number based traversal towards the genesis block if query.Origin.Number >= query.Skip+1 { - query.Origin.Number -= (query.Skip + 1) + query.Origin.Number -= query.Skip + 1 } else { unknown = true } case !query.Reverse: // Number based traversal towards the leaf block - query.Origin.Number += (query.Skip + 1) + query.Origin.Number += query.Skip + 1 } } return p.SendBlockHeaders(headers) |