Skip to content

Commit 59f49ed

Browse files
committed
chore: remove comments
Signed-off-by: Krishna Waske <[email protected]>
1 parent 178ca90 commit 59f49ed

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

packages/core/src/modules/vc/data-integrity/W3cJsonLdCredentialService.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,6 @@ export class W3cJsonLdCredentialService {
112112
documentLoader: this.w3cCredentialsModuleConfig.documentLoader(agentContext),
113113
checkStatus: async ({ credential }: { credential: W3cJsonCredential }) => {
114114
if (verifyCredentialStatus && credential.credentialStatus) {
115-
// await verifyBitStringCredentialStatus(credential, agentContext)
116-
// Add a verification function that then checks which type of credentailStatus we have
117-
// If the type is supported, we validate it and return the result
118115
await validateStatus(credential.credentialStatus, agentContext, ClaimFormat.LdpVc)
119116
}
120117
return {
@@ -271,9 +268,6 @@ export class W3cJsonLdCredentialService {
271268
documentLoader: this.w3cCredentialsModuleConfig.documentLoader(agentContext),
272269
checkStatus: async ({ credential }: { credential: W3cJsonCredential }) => {
273270
if (verifyCredentialStatus && credential.credentialStatus) {
274-
// await verifyBitStringCredentialStatus(credential, agentContext)
275-
// Add a verification function that then checks which type of credentailStatus we have
276-
// If the type is supported, we validate it and return the result
277271
await validateStatus(credential.credentialStatus, agentContext, ClaimFormat.LdpVc)
278272
}
279273
return {

packages/core/src/modules/vc/jwt-vc/W3cJwtCredentialService.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,6 @@ export class W3cJwtCredentialService {
197197
}
198198
} else if (verifyCredentialStatus && credential.credentialStatus) {
199199
// TODO: Add similar verification for JWT VCs
200-
// validationResults.validations.credentialStatus = {
201-
// isValid: false,
202-
// error: new CredoError('Verifying credential status is not supported for JWT VCs'),
203-
// }
204200
validationResults.validations.credentialStatus = {
205201
isValid: await validateStatus(credential.credentialStatus, agentContext, ClaimFormat.JwtVc)
206202
}

0 commit comments

Comments
 (0)