forked from cerc-io/plugeth
eth: remove redundant parentheses (#19108)
This commit is contained in:
parent
2a0e1bb32b
commit
3c62f965e7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user