Skip to content

Commit

Permalink
fix: broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
SeverinAlexB committed Feb 2, 2024
1 parent 81951a9 commit 962be07
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions test/shared_secret.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ test("secp example", async () => {

test("getSharedSecret default case", async () => {
const shouldSecret = new Uint8Array([
216, 249, 8, 21, 131, 130, 217, 98,
141, 252, 212, 103, 97, 178, 150, 89,
165, 180, 76, 128, 183, 139, 229, 149,
10, 78, 235, 2, 83, 209, 217, 0
])
2, 244, 56, 145, 64, 191, 20, 182,
92, 49, 93, 99, 81, 224, 174, 100,
190, 112, 227, 4, 131, 37, 33, 155,
126, 78, 78, 165, 176, 12, 159, 75,
150
])
const alicePub = secp.getPublicKey(alicePriv, true)
const aliceNodeId = Buffer.from(alicePub).toString('hex')
const bobPub = secp.getPublicKey(bobPriv, true)
Expand Down

0 comments on commit 962be07

Please sign in to comment.