From bae22cc593763002747287921b5f09b7dc733f15 Mon Sep 17 00:00:00 2001 From: maskpp Date: Fri, 11 Jul 2025 13:59:56 +0800 Subject: [PATCH] fix bug --- core/txpool/blobpool/blobpool.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/txpool/blobpool/blobpool.go b/core/txpool/blobpool/blobpool.go index 1a8342da0f..89e73af693 100644 --- a/core/txpool/blobpool/blobpool.go +++ b/core/txpool/blobpool/blobpool.go @@ -1330,11 +1330,11 @@ func (p *BlobPool) GetBlobs(vhashes []common.Hash) []*types.BlobTxSidecar { // If multi blobs in the same transaction, fill the other sidecars. hashes := item.BlobHashes() - for i, vHash := range hashes { - if sidecars[idx] != nil { + for i, vHash := range vhashes { + if sidecars[i] != nil { continue } - if index := slices.Index(hashes, vHash); index != -1 { + if slices.Index(hashes, vHash) != -1 { sidecars[i] = item.BlobTxSidecar() } }