From 43d6517cfc81fb203f0c6333c47a10beb3ad3715 Mon Sep 17 00:00:00 2001 From: Lee Bousfield Date: Tue, 25 Jun 2024 10:25:55 -0600 Subject: [PATCH] Work around duplicate response from CL --- util/headerreader/blob_client.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/util/headerreader/blob_client.go b/util/headerreader/blob_client.go index 73849d0d3a..2b47a940c3 100644 --- a/util/headerreader/blob_client.go +++ b/util/headerreader/blob_client.go @@ -229,10 +229,11 @@ func (b *BlobClient) blobSidecars(ctx context.Context, slot uint64, versionedHas var found bool for outputIdx = range versionedHashes { if versionedHashes[outputIdx] == versionedHash { - found = true if outputsFound[outputIdx] { - return nil, fmt.Errorf("found blob with versioned hash %v twice", versionedHash) + // Duplicate, skip this one + break } + found = true outputsFound[outputIdx] = true break }