From 974e01bcd32621cabbf6ce749643b89c74945328 Mon Sep 17 00:00:00 2001 From: ledgerwatch Date: Sat, 28 May 2022 13:38:22 +0100 Subject: [PATCH] Allow skeleton requests to more peers (#4290) Co-authored-by: Alex Sharp --- cmd/sentry/sentry/sentry_api.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmd/sentry/sentry/sentry_api.go b/cmd/sentry/sentry/sentry_api.go index 40b8dc84f..fbb1ed814 100644 --- a/cmd/sentry/sentry/sentry_api.go +++ b/cmd/sentry/sentry/sentry_api.go @@ -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,