aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/sync.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-03 23:43:18 -0700
committerAdam Soltys <[email protected]>2026-08-03 23:43:18 -0700
commit9a9e2a7e64e02d080d121e1f3079573d00ab28cf (patch)
tree22fe70f90dd404ec49385f554d790a063d9c61dc /src/features/sync.js
parent3bc4bf2cb95c1bcf61a10d8b892ee9ccaeffcf2d (diff)
downloadcoinosv3-9a9e2a7e64e02d080d121e1f3079573d00ab28cf.tar.gz
coinosv3-9a9e2a7e64e02d080d121e1f3079573d00ab28cf.zip
Logout shouldn't ask for a password nobody set
Wallets save themselves to this device as soon as you open one, encrypted under an empty password unless you choose one. Logging out still sent you to 'Unlock saved wallets — enter your password', which asks for something that doesn't exist and makes logout look like it did something drastic. It didn't: logout only drops the keys from memory, and 'Clear all' is the one that deletes. With no password, logout now returns to the wallet list — honest, since nothing is protecting those wallets and a blank prompt protects nothing. With a password set it prompts exactly as before. Fixed underneath: mergeVaultList derived the comparison xpub with accountXpubFor's mainnet default, so on any other network it never matched the stored one and every unlock re-added the same wallet as a fresh entry — visible as the same wallet listed twice, once watch-only. The seed-mismatch checks in 'load recovery phrase' had the same default and would have rejected the correct seed on testnet. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi
Diffstat (limited to 'src/features/sync.js')
0 files changed, 0 insertions, 0 deletions