diff --git a/beacon_chain/consensus_object_pools/data_column_quarantine.nim b/beacon_chain/consensus_object_pools/data_column_quarantine.nim index 303d64981..4f322e0e3 100644 --- a/beacon_chain/consensus_object_pools/data_column_quarantine.nim +++ b/beacon_chain/consensus_object_pools/data_column_quarantine.nim @@ -134,10 +134,10 @@ func hasMissingDataColumns*(quarantine: DataColumnQuarantine, if (blck.root, ColumnIndex i) notin quarantine.data_columns and len(blck.message.body.blob_kzg_commitments) != 0: inc counter - if quarantine.supernode and coutner == NUMBER_OF_COLUMNS: + if quarantine.supernode and counter == NUMBER_OF_COLUMNS: return true elif quarantine.supernode == false and - counter == max(SAMPLES_PER_SLOT, CUSTODY_REQUIREMENT) + counter == max(SAMPLES_PER_SLOT, CUSTODY_REQUIREMENT): return true else: return false