From 6796b198836703b429d7a6b46cbf9c5e43dce562 Mon Sep 17 00:00:00 2001 From: Agnish Ghosh Date: Wed, 28 Aug 2024 19:49:12 +0530 Subject: [PATCH] subscribe to all subnets in deneb message handlers --- beacon_chain/nimbus_beacon_node.nim | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/beacon_chain/nimbus_beacon_node.nim b/beacon_chain/nimbus_beacon_node.nim index 49170c766..397b8047a 100644 --- a/beacon_chain/nimbus_beacon_node.nim +++ b/beacon_chain/nimbus_beacon_node.nim @@ -1160,11 +1160,10 @@ proc addDenebMessageHandlers( debugEcho cs for i in 0'u64 ..< targetSubnets: - if i in custody_subnets.get: - let topic = getDataColumnSidecarTopic(forkDigest, i) - debugEcho "Topic" - debugEcho topic - node.network.subscribe(topic, basicParams) + let topic = getDataColumnSidecarTopic(forkDigest, i) + debugEcho "Topic" + debugEcho topic + node.network.subscribe(topic, basicParams) if node.config.subscribeAllSubnets: node.network.loadCscnetsMetadata(DATA_COLUMN_SIDECAR_SUBNET_COUNT.uint8)