From 7079e12d794a73f1086f2cf70c765f0b4c96317c Mon Sep 17 00:00:00 2001 From: rjl493456442 Date: Thu, 4 Sep 2025 11:04:00 +0800 Subject: [PATCH] Remove nil blob check from response logic Removed check for nil blobs in response handling. --- eth/catalyst/api.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/eth/catalyst/api.go b/eth/catalyst/api.go index dca245ccf1..b40698b999 100644 --- a/eth/catalyst/api.go +++ b/eth/catalyst/api.go @@ -558,12 +558,6 @@ func (api *ConsensusAPI) GetBlobsV2(hashes []common.Hash) ([]*engine.BlobAndProo res := make([]*engine.BlobAndProofV2, len(hashes)) for i := 0; i < len(blobs); i++ { - // the blob is missing, return null as response. It should - // be caught by `AvailableBlobs` though, perhaps data race - // occurs between two calls. - if blobs[i] == nil { - return nil, nil - } var cellProofs []hexutil.Bytes for _, proof := range proofs[i] { cellProofs = append(cellProofs, proof[:])