diff --git a/packages/credentials/src/verifiable-credential.ts b/packages/credentials/src/verifiable-credential.ts index cc86aa1e2..4b8ef4a94 100644 --- a/packages/credentials/src/verifiable-credential.ts +++ b/packages/credentials/src/verifiable-credential.ts @@ -213,14 +213,10 @@ export class VerifiableCredential { throw new Error('Signature verification failed: Expected JWS header to contain alg and kid'); } - const verificationResponse = await verifyJWT(vcJwt, { resolver: tbdResolver }); - console.log('hiii'); - - if (!verificationResponse.verified) { throw new Error('VC JWT could not be verified. Reason: ' + JSON.stringify(verificationResponse)); } diff --git a/packages/credentials/tests/verifiable-credential.spec.ts b/packages/credentials/tests/verifiable-credential.spec.ts index d4f9bfbe0..3142e9c5a 100644 --- a/packages/credentials/tests/verifiable-credential.spec.ts +++ b/packages/credentials/tests/verifiable-credential.spec.ts @@ -16,7 +16,6 @@ describe('Verifiable Credential Tests', () => { ) {} } - beforeEach(async () => { const alice = await DidKeyMethod.create(); const [signingKeyPair] = alice.keySet.verificationMethodKeys!;