Skip to content

Commit

Permalink
chore: remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
osslgtm committed Sep 11, 2024
1 parent 183d44d commit ea24c18
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/did/resolver.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DIDDocument, DIDResolver, Resolver, ResolverRegistry, VerificationMethod } from "did-resolver";
import { DIDDocument, Resolver, ResolverRegistry, VerificationMethod } from "did-resolver";
import { getResolver as ethrGetResolver } from "ethr-did-resolver";
import { getResolver as webGetResolver } from "web-did-resolver";
import NodeCache from "node-cache";
Expand Down
1 change: 0 additions & 1 deletion src/verifiers/documentStatus/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ export const isRevokedByOcspResponder = async ({

for (const hash of intermediateHashes) {
const res = await fetch(`${location}/${hash}`).catch((e) => {
console.log(e)
throw new CodedError(
`Invalid or unexpected response from OCSP Responder - ${e}`,
OpenAttestationDidSignedDocumentStatusCode.OCSP_RESPONSE_INVALID,
Expand Down

0 comments on commit ea24c18

Please sign in to comment.