mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-11 08:47:33 +00:00
Two related gaps around nutzaps redeemed from mints not in the user's configured kind:17375 list (e.g. a NIP-61 nutzap auto-redeemed from a mint outside the recipient's kind:10019): - The wallet screen's per-mint list iterated only the configured mints, so a token-only mint contributed to the total balance but had no row — the displayed per-mint balances under-counted the wallet. Add `displayMints` (union of configured + token-derived mints) so the rows sum to the full balance. - Stale-proof reconciliation (`scrubLocallyStaleProofs`) only ran for the single mint a spend targeted, so proofs held at a non-configured mint were never checked until spent. Add `syncAllMints()` (an all-mint, non-destructive sweep) and wire it to the wallet screen opening via `CashuWalletViewModel.refresh()`. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TK5eNfhkNR1svcQxjY1JvR