Skip to content

Commit f090b29

Browse files
authored
Pass the correct key for multitenant single wallets (openwallet-foundation#3450)
Signed-off-by: jamshale <[email protected]>
1 parent 7565ada commit f090b29

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

acapy_agent/multitenant/single_wallet_askar_manager.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,12 @@ async def get_wallet_profile(
7171
"multitenant.wallet_name", self.DEFAULT_MULTITENANT_WALLET_NAME
7272
)
7373
context = base_context.copy()
74+
7475
sub_wallet_settings = {
7576
"wallet.recreate": False,
7677
"wallet.seed": None,
77-
"wallet.key": "",
78-
"wallet.rekey": None,
78+
"wallet.key": base_context.settings.get("wallet.key", ""),
79+
"wallet.rekey": base_context.settings.get("wallet.rekey"),
7980
"wallet.id": None,
8081
"wallet.name": multitenant_wallet_name,
8182
"wallet.type": "askar",

0 commit comments

Comments
 (0)