Skip to content

Commit

Permalink
fix(vc): change pubKey input from Buffer to Uint8Array (#935)
Browse files Browse the repository at this point in the history
Signed-off-by: Karim <[email protected]>
  • Loading branch information
karimStekelenburg authored and TimoGlastra committed Aug 11, 2022
1 parent 9b43c81 commit 1fd298f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export class BbsBlsSignatureProof2020 extends suites.LinkedDataProof {
// Compute the proof
const outputProof = await blsCreateProof({
signature,
publicKey: key.publicKeyBuffer,
publicKey: Uint8Array.from(key.publicKeyBuffer),
messages: allInputStatements,
nonce,
revealed: revealIndicies,
Expand Down

0 comments on commit 1fd298f

Please sign in to comment.