diff --git a/beacon_chain/consensus_object_pools/data_column_quarantine.nim b/beacon_chain/consensus_object_pools/data_column_quarantine.nim index 406d567c4..f01e089d2 100644 --- a/beacon_chain/consensus_object_pools/data_column_quarantine.nim +++ b/beacon_chain/consensus_object_pools/data_column_quarantine.nim @@ -80,6 +80,12 @@ func popDataColumns*( r.add(c) r +func checkForInitialDcSidecars*(quarantine: DataColumnQuarantine, + blck: deneb.SignedBeaconBlock | electra.SignedBeaconBlock): bool = + for idx in 0..= ConsensusFork.Deneb: - if not dataColumnQuarantine[].hasBlobs(forkyBlck): + if not dataColumnQuarantine[].checkForInitialDcSidecars(forkyBlck): # We don't have all the data columns for this block, so we have # to put it in columnless quarantine. if not quarantine[].addColumnless(dag.finalizedHead.slot, forkyBlck):