From 762dfa0f2a304c257e2ceda9762246b412838a67 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Mon, 23 Dec 2024 20:05:33 -0700 Subject: [PATCH] fix the verificationMethod type in the local ETHR DID resolver --- src/libs/crypto/vc/did-eth-local-resolver.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/crypto/vc/did-eth-local-resolver.ts b/src/libs/crypto/vc/did-eth-local-resolver.ts index c1d628d..41f7a43 100644 --- a/src/libs/crypto/vc/did-eth-local-resolver.ts +++ b/src/libs/crypto/vc/did-eth-local-resolver.ts @@ -7,7 +7,7 @@ * @param did : string * @returns {Promise} * - * Similar code resides in image-api + * Similar code resides in endorser-ch and image-api */ export const didEthLocalResolver = async (did: string) => { const didRegex = /^did:ethr:(0x[0-9a-fA-F]{40})$/; @@ -31,7 +31,7 @@ export const didEthLocalResolver = async (did: string) => { verificationMethod: [ { id: `${did}#controller`, - type: "EcdsaSec256k1RecoveryMethod2020", + type: "EcdsaSecp256k1RecoveryMethod2020", controller: did, blockchainAccountId: "eip155:1:" + publicKeyHex, },