From e317407d167ada33fcfa769cabe26d27bae95eea Mon Sep 17 00:00:00 2001 From: cui Date: Thu, 23 Jul 2026 16:22:47 +0800 Subject: [PATCH] eth/fetcher: clear partial map when dropping last waitlist peer (#35399) When a peer drop removes the last waiter for a hash, waitlist and waittime were cleaned up but partial could retain a stale entry. Delete it too so the hash is fully forgotten. --- eth/fetcher/blob_fetcher.go | 1 + 1 file changed, 1 insertion(+) diff --git a/eth/fetcher/blob_fetcher.go b/eth/fetcher/blob_fetcher.go index 0b3bf7d056..c599d96277 100644 --- a/eth/fetcher/blob_fetcher.go +++ b/eth/fetcher/blob_fetcher.go @@ -615,6 +615,7 @@ func (f *BlobFetcher) loop() { if len(f.waitlist[hash]) == 0 { delete(f.waitlist, hash) delete(f.waittime, hash) + delete(f.partial, hash) } } delete(f.waitslots, drop.peer)