Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
922e757f
Commit
922e757f
authored
May 26, 2019
by
Péter Szilágyi
Committed by
Guillaume Ballet
May 26, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
accounts/usbwallet: enable the Nano X and upcoming Ledger IDs (#19623)
parent
fec3b56f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
hub.go
accounts/usbwallet/hub.go
+14
-1
No files found.
accounts/usbwallet/hub.go
View file @
922e757f
...
...
@@ -68,7 +68,20 @@ type Hub struct {
// NewLedgerHub creates a new hardware wallet manager for Ledger devices.
func
NewLedgerHub
()
(
*
Hub
,
error
)
{
return
newHub
(
LedgerScheme
,
0x2c97
,
[]
uint16
{
0x0000
/* Ledger Blue */
,
0x0001
/* Ledger Nano S */
},
0xffa0
,
0
,
newLedgerDriver
)
return
newHub
(
LedgerScheme
,
0x2c97
,
[]
uint16
{
// Original product IDs
0x0000
,
/* Ledger Blue */
0x0001
,
/* Ledger Nano S */
0x0004
,
/* Ledger Nano X */
// Upcoming product IDs: https://www.ledger.com/2019/05/17/windows-10-update-sunsetting-u2f-tunnel-transport-for-ledger-devices/
0x0015
,
/* HID + U2F + WebUSB Ledger Blue */
0x1015
,
/* HID + U2F + WebUSB Ledger Nano S */
0x4015
,
/* HID + U2F + WebUSB Ledger Nano X */
0x0011
,
/* HID + WebUSB Ledger Blue */
0x1011
,
/* HID + WebUSB Ledger Nano S */
0x4011
,
/* HID + WebUSB Ledger Nano X */
},
0xffa0
,
0
,
newLedgerDriver
)
}
// NewTrezorHub creates a new hardware wallet manager for Trezor devices.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment