diff options
Diffstat (limited to 'src/features/sync.js')
| -rw-r--r-- | src/features/sync.js | 2 |
1 files changed, 1 insertions, 1 deletions
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(() => {}); |
