Skip to content

Commit

Permalink
fix: the helper was not calling resolver for algo 2 peer dids
Browse files Browse the repository at this point in the history
  • Loading branch information
beatt83 committed Feb 14, 2024
1 parent 7a061c0 commit 5aaad89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/PeerDID/PeerDID/PeerDIDHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public struct PeerDIDHelper {
case ._0:
return try PeerDIDHelper().resolvePeerDIDAlgo0(peerDID: peerDID, format: format)
case ._2:
return DIDDocument(id: "", verificationMethods: [], services: [])
return try PeerDIDHelper().resolvePeerDIDAlgo2(peerDID: peerDID, format: format)
}
}
}
Expand Down

0 comments on commit 5aaad89

Please sign in to comment.