|
|
|
|
@ -1322,7 +1322,7 @@ class LedgerPlugin(HW_PluginBase):
|
|
|
|
|
(0x2c97, 0x0001), # Nano-S |
|
|
|
|
(0x2c97, 0x0004), # Nano-X |
|
|
|
|
(0x2c97, 0x0005), # Nano-S Plus |
|
|
|
|
(0x2c97, 0x0006), # RFU |
|
|
|
|
(0x2c97, 0x0006), # Stax |
|
|
|
|
(0x2c97, 0x0007), # RFU |
|
|
|
|
(0x2c97, 0x0008), # RFU |
|
|
|
|
(0x2c97, 0x0009), # RFU |
|
|
|
|
@ -1332,6 +1332,7 @@ class LedgerPlugin(HW_PluginBase):
|
|
|
|
|
0x10: "Ledger Nano S", |
|
|
|
|
0x40: "Ledger Nano X", |
|
|
|
|
0x50: "Ledger Nano S Plus", |
|
|
|
|
0x60: "Ledger Stax", |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
SUPPORTED_XTYPES = ('standard', 'p2wpkh-p2sh', 'p2wpkh', 'p2wsh-p2sh', 'p2wsh') |
|
|
|
|
@ -1380,6 +1381,8 @@ class LedgerPlugin(HW_PluginBase):
|
|
|
|
|
return True, "Ledger Nano X" |
|
|
|
|
if product_key == (0x2c97, 0x0005): |
|
|
|
|
return True, "Ledger Nano S Plus" |
|
|
|
|
if product_key == (0x2c97, 0x0006): |
|
|
|
|
return True, "Ledger Stax" |
|
|
|
|
return True, None |
|
|
|
|
# modern product_keys |
|
|
|
|
if product_key[0] == 0x2c97: |
|
|
|
|
|