From 61f333feaafa37fe67adc7a7238b3a1b09da322e Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 1 Sep 2023 04:10:37 -0400 Subject: [PATCH] fix: bad argument nesting --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 94810eb..c71de67 100644 --- a/src/index.ts +++ b/src/index.ts @@ -49,7 +49,7 @@ const plugin = { }); s5peer.id = new NodeId( - concatBytes(Uint8Array.from([mkeyEd25519], peer.remotePublicKey)), + concatBytes(Uint8Array.from([mkeyEd25519]), peer.remotePublicKey), ); await s5peer.init();