Allow skeleton requests to more peers (#4290)

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
This commit is contained in:
ledgerwatch 2022-05-28 13:38:22 +01:00 committed by GitHub
parent 13a1b3c19f
commit 974e01bcd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,9 +105,6 @@ func (cs *MultiClient) SendHeaderRequest(ctx context.Context, req *headerdownloa
return [64]byte{}, false
}
minBlock := req.Number
if !req.Reverse {
minBlock = req.Number + (req.Length-1)*(req.Skip+1)
}
outreq := proto_sentry.SendMessageByMinBlockRequest{
MinBlock: minBlock,