Skip to content

Commit

Permalink
eth: remove redundant parentheses (ethereum#19108)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthalp-zz authored and karalabe committed Feb 18, 2019
1 parent 2a0e1bb commit 3c62f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/downloader/downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ func (d *Downloader) findAncestor(p *peerConnection, remoteHeader *types.Header)
}
// Make sure the peer's reply conforms to the request
for i, header := range headers {
expectNumber := from + int64(i)*int64((skip+1))
expectNumber := from + int64(i)*int64(skip+1)
if number := header.Number.Int64(); number != expectNumber {
p.log.Warn("Head headers broke chain ordering", "index", i, "requested", expectNumber, "received", number)
return 0, errInvalidChain
Expand Down

0 comments on commit 3c62f96

Please sign in to comment.