modify has data columns
This commit is contained in:
parent
ae46c85136
commit
3ec7b522c8
|
@ -122,9 +122,9 @@ func hasDataColumns*(quarantine: DataColumnQuarantine,
|
||||||
inc counter
|
inc counter
|
||||||
else:
|
else:
|
||||||
return false
|
return false
|
||||||
if (counter == max(SAMPLES_PER_SLOT, CUSTODY_REQUIREMENT) and
|
if counter == DATA_COLUMN_SIDECAR_SUBNET_COUNT or
|
||||||
counter < max(SAMPLES_PER_SLOT, CUSTODY_REQUIREMENT)) or
|
(counter == max(SAMPLES_PER_SLOT, CUSTODY_REQUIREMENT) and
|
||||||
counter == DATA_COLUMN_SIDECAR_SUBNET_COUNT:
|
counter < max(SAMPLES_PER_SLOT, CUSTODY_REQUIREMENT) + 1):
|
||||||
return true
|
return true
|
||||||
else:
|
else:
|
||||||
false
|
false
|
||||||
|
|
Loading…
Reference in New Issue