From 0363f235278748b273b4ec0f408594357a3f2bd0 Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Wed, 3 Apr 2024 12:38:49 +0200 Subject: [PATCH] fix --- beacon_chain/sync/request_manager.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon_chain/sync/request_manager.nim b/beacon_chain/sync/request_manager.nim index 34da7c30a..3e83bb383 100644 --- a/beacon_chain/sync/request_manager.nim +++ b/beacon_chain/sync/request_manager.nim @@ -302,7 +302,7 @@ proc getMissingBlobs(rman: RequestManager): seq[BlobIdentifier] = var fetches: seq[BlobIdentifier] ready: seq[Eth2Digest] - for root, blobless in rman.quarantine[].peekBlobless(): + for blobless in rman.quarantine[].peekBlobless(): # give blobs a chance to arrive over gossip if blobless.message.slot == wallSlot and delay < waitDur: debug "Not handling missing blobs early in slot" @@ -323,7 +323,7 @@ proc getMissingBlobs(rman: RequestManager): seq[BlobIdentifier] = warn "missing blob handler found blobless block with all blobs", blk=blobless.root, commitments=len(blobless.message.body.blob_kzg_commitments) - ready.add(root) + ready.add(blobless.root) for root in ready: let blobless = rman.quarantine[].popBlobless(root).valueOr: continue