diff --git a/beacon_chain/nimbus_beacon_node.nim b/beacon_chain/nimbus_beacon_node.nim index cc55887aa..b7aad5e57 100644 --- a/beacon_chain/nimbus_beacon_node.nim +++ b/beacon_chain/nimbus_beacon_node.nim @@ -429,8 +429,7 @@ proc cycleAttestationSubnets(node: BeaconNode, slot: Slot) = node.attestationSubnets.subscribedSubnets[1] + {node.attestationSubnets.stabilitySubnet.uint8} for subnet in 0'u8 ..< ATTESTATION_SUBNET_COUNT: - doAssert node.network.metadata.attnets[subnet] == - (subnet in subscribed_subnets) + node.network.metadata.attnets[subnet] = subnet in subscribed_subnets proc getAttestationHandlers(node: BeaconNode): Future[void] = var initialSubnets: set[uint8]