From eaf4b261c14edbac9bd333776a99187aff1d8f55 Mon Sep 17 00:00:00 2001 From: Agnish Ghosh Date: Mon, 23 Sep 2024 14:09:16 +0530 Subject: [PATCH] fix enr update issue --- beacon_chain/networking/eth2_network.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_chain/networking/eth2_network.nim b/beacon_chain/networking/eth2_network.nim index fd48409dd..dc9e7f38d 100644 --- a/beacon_chain/networking/eth2_network.nim +++ b/beacon_chain/networking/eth2_network.nim @@ -2640,7 +2640,7 @@ proc loadCscnetsMetadata*(node: Eth2Node, cscnets: CscCount) = node.metadata.custody_subnet_count = cscnets.uint64 let res = node.discovery.updateRecord({ - enrCustodySubnetCountField: SSZ.encode(node.metadata.custody_subnet_count)}) + enrCustodySubnetCountField: SSZ.encode(cscnets)}) if res.isErr: # This should not occur in this scenario as the private key would always