From 07d3ae1d80aef8b2499107b24cc4649df5162f81 Mon Sep 17 00:00:00 2001 From: healthykim Date: Thu, 19 Mar 2026 13:01:30 +0900 Subject: [PATCH] change requestByCustody to use bitmap as key --- eth/fetcher/blob_fetcher.go | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/eth/fetcher/blob_fetcher.go b/eth/fetcher/blob_fetcher.go index 7b01d4beca..31b9434ad6 100644 --- a/eth/fetcher/blob_fetcher.go +++ b/eth/fetcher/blob_fetcher.go @@ -701,17 +701,14 @@ func (f *BlobFetcher) scheduleFetches(timer *mclock.Timer, timeout chan struct{} // If any hashes were allocated, request them from the peer if len(hashes) > 0 { // Group hashes by custody bitmap - requestByCustody := make(map[string]*cellRequest) + requestByCustody := make(map[types.CustodyBitmap]*cellRequest) for i, hash := range hashes { - custody := custodies[i] - - key := string(custody[:]) - + key := *custodies[i] if _, ok := requestByCustody[key]; !ok { requestByCustody[key] = &cellRequest{ txs: []common.Hash{}, - cells: custody, + cells: custodies[i], time: f.clock.Now(), } }