revert to initially subscribing to all subnets
This commit is contained in:
parent
46c72d8cbe
commit
fd1ae50830
|
@ -2041,13 +2041,7 @@ proc installMessageValidators(node: BeaconNode) =
|
|||
|
||||
# data_column_sidecar_{subnet_id}
|
||||
#
|
||||
let subnetCount =
|
||||
if node.config.subscribeAllSubnets:
|
||||
DATA_COLUMN_SIDECAR_SUBNET_COUNT.uint64
|
||||
else:
|
||||
CUSTODY_REQUIREMENT.uint64
|
||||
|
||||
for it in 0'u64 ..< subnetCount:
|
||||
for it in 0'u64 ..< DATA_COLUMN_SIDECAR_SUBNET_COUNT:
|
||||
closureScope: # Needed for inner `proc`; don't lift it out of loop.
|
||||
let subnet_id = it
|
||||
node.network.addValidator(
|
||||
|
|
Loading…
Reference in New Issue