Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions crypto/ledger/usbwallet/hub.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@
0x4011, /* HID + WebUSB Ledger Nano X */
0x5011, /* HID + WebUSB Ledger Nano S Plus */
0x6011, /* HID + WebUSB Ledger Nano FTS */

// The USB product IDs will be defined as MMII, encoding a model (MM) and an interface bitfield (II)
0x1000, /* Ledger Nano S */
0x4000, /* Ledger Nano X */
0x5000, /* Ledger Nano S Plus */
0x6000, /* Ledger Nano FTS */

Check warning on line 103 in crypto/ledger/usbwallet/hub.go

View check run for this annotation

Codecov / codecov/patch

crypto/ledger/usbwallet/hub.go#L98-L103

Added lines #L98 - L103 were not covered by tests
}, 0xffa0, 0, newLedgerDriver)
}

Expand Down
Loading