From ae7678ededfeaaf365dddb8d3d391aa02e1fbd83 Mon Sep 17 00:00:00 2001 From: harkamal Date: Tue, 27 Aug 2024 21:29:50 +0530 Subject: [PATCH] fx --- packages/beacon-node/src/network/subnets/interface.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/beacon-node/src/network/subnets/interface.ts b/packages/beacon-node/src/network/subnets/interface.ts index 95f83b87c937..bfba4be7c45b 100644 --- a/packages/beacon-node/src/network/subnets/interface.ts +++ b/packages/beacon-node/src/network/subnets/interface.ts @@ -55,7 +55,7 @@ export type NodeId = Bytes32; export function computeNodeId(peerIdOrStr: PeerId | PeerIdStr) { let peerId; if (typeof peerIdOrStr === "string") { - peerId = peerIdFromString(peerId); + peerId = peerIdFromString(peerIdOrStr as string); } else { peerId = peerIdOrStr as PeerId; }