mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-11 14:54:12 +00:00
fixes
This commit is contained in:
parent
71914ac8a7
commit
57bcfdf13e
@ -134,10 +134,10 @@ func hasMissingDataColumns*(quarantine: DataColumnQuarantine,
|
|||||||
if (blck.root, ColumnIndex i) notin quarantine.data_columns and
|
if (blck.root, ColumnIndex i) notin quarantine.data_columns and
|
||||||
len(blck.message.body.blob_kzg_commitments) != 0:
|
len(blck.message.body.blob_kzg_commitments) != 0:
|
||||||
inc counter
|
inc counter
|
||||||
if quarantine.supernode and coutner == NUMBER_OF_COLUMNS:
|
if quarantine.supernode and counter == NUMBER_OF_COLUMNS:
|
||||||
return true
|
return true
|
||||||
elif quarantine.supernode == false and
|
elif quarantine.supernode == false and
|
||||||
counter == max(SAMPLES_PER_SLOT, CUSTODY_REQUIREMENT)
|
counter == max(SAMPLES_PER_SLOT, CUSTODY_REQUIREMENT):
|
||||||
return true
|
return true
|
||||||
else:
|
else:
|
||||||
return false
|
return false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user