go-ethereum/accounts/usbwallet
Daniel Liu 47d17e1b97
accounts/usbwallet: fix ledger access for latest firmware and add Ledger Flex #31004 (#1414)
The latest firmware for Ledger Nano S Plus now returns `0x5000` for it's
product ID, which doesn't match any of the product IDs enumerated in
`hub.go`.

This PR removes the assumption about the interfaces exposed, and simply
checks the upper byte for a match.

Also adds support for the `0x0007` / `0x7000` product ID (Ledger Flex).

Co-authored-by: Michael de Hoog <michael.dehoog@coinbase.com>
2025-09-03 15:45:34 +08:00
..
trezor all: remove deprecated protobuf dependencies (#30232) 2025-01-24 16:54:12 +08:00
hub.go accounts/usbwallet: fix ledger access for latest firmware and add Ledger Flex #31004 (#1414) 2025-09-03 15:45:34 +08:00
ledger.go accounts/usbwallet: support dynamic tx (#30180) 2025-01-24 16:54:12 +08:00
trezor.go all: remove deprecated protobuf dependencies (#30232) 2025-01-24 16:54:12 +08:00
wallet.go accounts/usbwallet: update hid library (#29176) 2025-01-24 16:54:12 +08:00