Opus
wallet-store exposes setConfig but WalletView keeps walletConfig in local state
- desktop/renderer/src/stores/wallet-store.ts:41-49
- desktop/renderer/src/components/wallet/WalletView.tsx:134-135
The store defines `config` and `setConfig` specifically for wallet config, but WalletView never uses them — it duplicates the same data in local React state via `useState<WalletConfig | null>`. The sidebar and any other consumers that wanted to read caps (e.g., session/per-tx caps) cannot, because the store stays `null`. This is both a maintainability issue (dead API surface) and a real functional gap (sidebar can't show caps even though the model supports it).
Recommendation
Either remove `config`/`setConfig` from the store or have WalletView call `setConfig(configRes)` instead of (or in addition to) the local useState.