Opus finding
Network classification only treats exact 'base' as mainnet; sepolia detection by negation hides config bugs
- desktop/renderer/src/components/wallet/WalletSidebarPanel.tsx:102-113
- desktop/renderer/src/components/wallet/WalletView.tsx:78-80
Any network string other than the literal `"base"` (including `null`, an empty string, or a misconfigured value such as `"base-mainnet"`) is silently treated as Base Sepolia testnet. This includes the explorer URL (links to wrong network) and the TESTNET label. If the backend ever changes the network identifier (e.g., to `base-mainnet`), users will be sent to the wrong block explorer and see incorrect network badges — a subtle data-integrity issue.
Recommendation
Whitelist known network identifiers and render an unknown-network branch explicitly, or centralize the mapping in one helper used by both sidebar/view/explorer URLs.