Skip to content

Commit

Permalink
chore: nit
Browse files Browse the repository at this point in the history
  • Loading branch information
dhrubabasu committed Feb 17, 2024
1 parent eca5dd6 commit b1783b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/crypto/bls.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ describe('bls', () => {
const pk = bls.publicKeyFromBytes(pkStr);
const pop = bls.signatureFromBytes(hexToBuffer(popStr));

expect(bls.verifyProofOfPossession(pk, pop, pk.toRawBytes())).toEqual(true);
expect(
bls.verifyProofOfPossession(pk, pop, bls.publicKeyToBytes(pk)),
).toEqual(true);
});
});

0 comments on commit b1783b6

Please sign in to comment.