Skip to content

Commit

Permalink
fix: remove check for DifPresentationExchangeService dependency (open…
Browse files Browse the repository at this point in the history
…wallet-foundation#1702)

Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>
Signed-off-by: Ariel Gentile <gentilester@gmail.com>
  • Loading branch information
sairanjit authored and genaris committed Jan 29, 2024
1 parent 266807d commit c20f055
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,6 @@ export class PresentationExchangeProofFormatService implements ProofFormatServic
public readonly formatKey = 'presentationExchange' as const

private presentationExchangeService(agentContext: AgentContext) {
if (!agentContext.dependencyManager.isRegistered(DifPresentationExchangeService)) {
throw new AriesFrameworkError(
'DifPresentationExchangeService is not registered on the Agent. Please provide the PresentationExchangeModule as a module on the agent'
)
}

return agentContext.dependencyManager.resolve(DifPresentationExchangeService)
}

Expand Down

0 comments on commit c20f055

Please sign in to comment.