mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 13:07:17 +00:00
Allow skeleton requests to more peers (#4290)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
This commit is contained in:
parent
13a1b3c19f
commit
974e01bcd3
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user