mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-10-05 19:28:25 +00:00
- Invalidate the cached NUT-13 seed in applyEvents whenever the live kind:17375 changes, so after a P2PK key rotation (recreateNutzapKey, or a rotation from another client) deterministic secrets re-derive from the new key instead of a stale cached seed. Removes the now-redundant reset in recreateNutzapKey. - AccountSettings.updateNutzapInfo no longer backs up a mints-less kind:10019 (the "stop receiving nutzaps" tombstone), clearing the backup instead — so the empty event round-tripping back through LocalCache can't undo clearNutzapInfo() and resurrect a withdrawn nutzap advertisement on next launch. - Key keyMode's remember on isEditMode in AddCashuWalletScreen so a wallet delivered after first composition flips to KeepCurrent, preventing a silent key rotation on save in the cold-open race. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SXRAunSJS2dBx7B79qTMew