From 7324c9b6ede7322109452f324703b320628e1a4e Mon Sep 17 00:00:00 2001 From: healthykim Date: Wed, 29 Oct 2025 23:12:15 +0900 Subject: [PATCH] chore: add todo --- eth/downloader/queue.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eth/downloader/queue.go b/eth/downloader/queue.go index 63092bfabc..3f240d4dcd 100644 --- a/eth/downloader/queue.go +++ b/eth/downloader/queue.go @@ -733,8 +733,9 @@ func (q *queue) deliver(id string, taskPool map[common.Hash]*types.Header, if res, stale, err := q.resultCache.GetDeliverySlot(header.Number.Uint64()); err == nil && !stale { resume := reconstruct(accepted, res) if resume >= 0 { - q.receiptTaskPool[header.Hash()] = header - q.receiptTaskQueue.Push(header, -int64(header.Number.Uint64())) + // TODO: add receipt index in TaskPool + taskPool[header.Hash()] = header + taskQueue.Push(header, -int64(header.Number.Uint64())) } } else { // else: between here and above, some other peer filled this result,