chore: remove hardware wallet dead code#27737
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
montelaidev
left a comment
There was a problem hiding this comment.
Tested adding accounts and signing with ledger.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
Performance Test Selection: |
|
✅ E2E Fixture Validation — Schema is up to date |
|




Description
Changelog
CHANGELOG entry: null
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/MUL-1496
Manual testing steps
no manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Mostly deletes unused Ledger Connect/BLE scanning UI and related hooks/tests; functional change is limited to how Ledger device model is sourced when forgetting a device, which could affect metrics labeling but not core wallet logic.
Overview
Removes the legacy Ledger BLE connection/scan flow UI (
LedgerConnect,Scan,LedgerConnectionError) along with associated hooks (useBluetooth,useBluetoothDevices,useLedgerBluetooth,useLedgerDeviceForAccount) and their unit/snapshot tests.Updates
AccountActionshardware-account removal to stop relying onuseLedgerDeviceForAccount; when a Ledger keyring becomes empty it now callsgetDeviceId()fromcore/Ledger/LedgerbeforeforgetLedger()to populate theHARDWARE_WALLET_FORGOTTENmetric, and adjusts mocks accordingly.Written by Cursor Bugbot for commit 8bcc324. This will update automatically on new commits. Configure here.