diff --git a/packages/vc-handler-ld-local/src/ld-credential-module.ts b/packages/vc-handler-ld-local/src/ld-credential-module.ts index 0437921db..c6ae2bb72 100644 --- a/packages/vc-handler-ld-local/src/ld-credential-module.ts +++ b/packages/vc-handler-ld-local/src/ld-credential-module.ts @@ -108,14 +108,14 @@ export class LdCredentialModule { if (key.type === 'Bls12381G2') { return await jsonld.sign(presentation, { - suite: suite.getSuiteForSigning(key, holderDid, verificationMethodId, context), + suite: await suite.getSuiteForSigning(key, holderDid, verificationMethodId, context), purpose, documentLoader, }) } return await vc.signPresentation({ presentation, - suite: suite.getSuiteForSigning(key, holderDid, verificationMethodId, context), + suite: await suite.getSuiteForSigning(key, holderDid, verificationMethodId, context), challenge, domain, documentLoader,