The startup auto-open of an existing lite wallet discarded openWallet()'s result, so when initialize_existing failed (e.g. the lightwalletd server is unreachable) the UI just showed a "disconnected" spinner with no reason — and DEBUG_LOGF is compiled out of release builds, so there was no way to see why. Capture the failure: store the reason, show it in the Network tab status line (in place of "no wallet open"), and raise a notification. Cleared once a wallet opens. This doesn't change open behaviour — it makes a stuck open diagnosable. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
31 KiB
31 KiB