From 5aa595fbc6af5a9e414d06b4ac164bc0067347e8 Mon Sep 17 00:00:00 2001 From: tersec Date: Fri, 24 Nov 2023 16:34:45 +0000 Subject: [PATCH] Option[deneb.SignedBeaconBlock] -> Opt[deneb.SignedBeaconBlock] (#5620) --- beacon_chain/consensus_object_pools/block_quarantine.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/beacon_chain/consensus_object_pools/block_quarantine.nim b/beacon_chain/consensus_object_pools/block_quarantine.nim index 477558676..60c81290a 100644 --- a/beacon_chain/consensus_object_pools/block_quarantine.nim +++ b/beacon_chain/consensus_object_pools/block_quarantine.nim @@ -311,12 +311,12 @@ proc addBlobless*( true func popBlobless*(quarantine: var Quarantine, root: Eth2Digest): - Option[deneb.SignedBeaconBlock] = + Opt[deneb.SignedBeaconBlock] = var blck: deneb.SignedBeaconBlock if quarantine.blobless.pop(root, blck): - return some(blck) + Opt.some(blck) else: - return none(deneb.SignedBeaconBlock) + Opt.none(deneb.SignedBeaconBlock) iterator peekBlobless*(quarantine: var Quarantine): deneb.SignedBeaconBlock = for k, v in quarantine.blobless.mpairs():