From 956067aa1e89a1194984b5e939320ffecc8ec737 Mon Sep 17 00:00:00 2001 From: Vasco Santos Date: Mon, 24 Aug 2020 14:28:02 +0200 Subject: [PATCH] chore: remove bits from create peerId Co-authored-by: Jacob Heun --- test/pubsub/sign.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/pubsub/sign.spec.js b/test/pubsub/sign.spec.js index 8b79347ca..f74393380 100644 --- a/test/pubsub/sign.spec.js +++ b/test/pubsub/sign.spec.js @@ -46,7 +46,7 @@ describe('message signing', () => { }) it('should be able to extract the public key from an inlined key', async () => { - const secPeerId = await PeerId.create({ keyType: 'secp256k1', bits: 256 }) + const secPeerId = await PeerId.create({ keyType: 'secp256k1' }) const message = { from: secPeerId.id,