From 7a45f1a7b68ebbebef46f12eaf1c635b85ac940b Mon Sep 17 00:00:00 2001 From: mtyszczak Date: Thu, 7 Dec 2023 13:59:57 +0100 Subject: [PATCH] Improve synchronizing beekeeper wallets from list wallets --- programs/beekeeper/beekeeper_wasm/src/detailed/session.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/programs/beekeeper/beekeeper_wasm/src/detailed/session.ts b/programs/beekeeper/beekeeper_wasm/src/detailed/session.ts index 22f3110c0e..ae2d10f185 100644 --- a/programs/beekeeper/beekeeper_wasm/src/detailed/session.ts +++ b/programs/beekeeper/beekeeper_wasm/src/detailed/session.ts @@ -36,6 +36,9 @@ export class BeekeeperSession implements IBeekeeperSession { for(const value of result.wallets) { const wallet = this.openWallet(value.name); + if(!value.unlocked) + (wallet as BeekeeperLockedWallet).unlocked = undefined; + wallets.push(wallet); }