Skip to content

Commit

Permalink
Check admin wallet anoncreds upgrade on startup (#3458)
Browse files Browse the repository at this point in the history
Signed-off-by: jamshale <[email protected]>
  • Loading branch information
jamshale authored Jan 20, 2025
1 parent 9c4805f commit 537f8d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions acapy_agent/core/conductor.py
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,7 @@ async def check_for_valid_wallet_type(self, profile):
async def check_for_wallet_upgrades_in_progress(self):
"""Check for upgrade and upgrade if needed."""
if self.context.settings.get_value("multitenant.enabled"):
# Sub-wallets
subwallet_profiles = await get_subwallet_profiles_from_storage(
self.root_profile
)
Expand All @@ -867,5 +868,5 @@ async def check_for_wallet_upgrades_in_progress(self):
]
)

else:
await upgrade_wallet_to_anoncreds_if_requested(self.root_profile)
# Stand-alone or admin wallet
await upgrade_wallet_to_anoncreds_if_requested(self.root_profile)

0 comments on commit 537f8d3

Please sign in to comment.