Skip to content

Commit

Permalink
fx
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech committed Aug 27, 2024
1 parent 4b6f167 commit ae7678e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/beacon-node/src/network/subnets/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ae7678e

Please sign in to comment.