From 643046319fa9a393374fc2348381d9505fe143eb Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 15 Aug 2026 14:32:28 -0700 Subject: Wallets go flat: every Spending and Savings is a top-level wallet in the switcher, named for its purpose, renamable apart — and a new wallet can carry its own seed or live at the next BIP84 account of one you already back up MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_014tE4U5nEjGTQy8PwYqamfv --- src/features/sync.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/features/sync.js') diff --git a/src/features/sync.js b/src/features/sync.js index 35bf358..93451df 100644 --- a/src/features/sync.js +++ b/src/features/sync.js @@ -152,7 +152,7 @@ export function installSyncWallet(wallet) { // identity follows the open wallet wallet.registerLoadHook(() => { - if (wallet.mnemonic) wallet.nostr.load(wallet.mnemonic, wallet.passphrase); + if (wallet.mnemonic) wallet.nostr.load(wallet.mnemonic, wallet.passphrase, wallet.accountIndex || 0); else wallet.nostr.unload(); wallet._syncPubSeen = {}; // a new identity has published nothing yet adoptSyncRelays().catch(() => {}); -- cgit v1.2.3