Skip to content

Commit

Permalink
fix: remove check for DifPresentationExchangeService registered on agent
Browse files Browse the repository at this point in the history
  • Loading branch information
sairanjit committed Jan 22, 2024
1 parent ee34fe7 commit 9746455
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 9746455

Please sign in to comment.