From d3ce3dbb1f7b796c512e4c6b2852492f422f8e6d Mon Sep 17 00:00:00 2001 From: SunnysidedJ Date: Fri, 16 May 2025 16:34:56 +0900 Subject: [PATCH] fixed spacing --- eth/catalyst/api.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/eth/catalyst/api.go b/eth/catalyst/api.go index 5c621e97ac..7f93f2c347 100644 --- a/eth/catalyst/api.go +++ b/eth/catalyst/api.go @@ -566,10 +566,10 @@ func (api *ConsensusAPI) GetBlobsV1(hashes []common.Hash) ([]*engine.BlobAndProo index = make(map[common.Hash]int) sidecars = api.eth.TxPool().GetBlobs(hashes) ) - - for i, hash := range hashes { + + for i, hash := range hashes { index[hash] = i - } + } for i, sidecar := range sidecars { if res[i] != nil || sidecar == nil { @@ -594,8 +594,8 @@ func (api *ConsensusAPI) GetBlobsV2(hashes []common.Hash) ([]*engine.BlobAndProo if len(hashes) > 128 { return nil, engine.TooLargeRequest.With(fmt.Errorf("requested blob count too large: %v", len(hashes))) } - - getBlobsV2BlobsRequestedTotal.Inc(int64(len(hashes))) + + getBlobsV2BlobsRequestedTotal.Inc(int64(len(hashes))) // Optimization: check first if all blobs are available, if not, return empty response blobCounts := api.eth.TxPool().GetBlobCounts(hashes)