Skip to content

Commit

Permalink
fix: make get_suite async
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Bluhm <[email protected]>
  • Loading branch information
dbluhm authored and jamshale committed Jul 23, 2024
1 parent 49c6444 commit d1a543b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aries_cloudagent/vc/vc_ld/external_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ExternalSuiteProvider(ABC):
"""Plugin hook for providing an external signature suite implementation."""

@abstractmethod
def get_suite(
async def get_suite(
self,
profile: Profile,
proof_type: str,
Expand Down
2 changes: 1 addition & 1 deletion aries_cloudagent/vc/vc_ld/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ async def _get_suite(
# Try to get suite from external provider first
try:
if (provider := self.profile.inject_or(ExternalSuiteProvider)) and (
suite := provider.get_suite(
suite := await provider.get_suite(
self.profile, proof_type, proof, verification_method, did_info
)
):
Expand Down

0 comments on commit d1a543b

Please sign in to comment.