mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-28 02:18:20 +00:00
feat(core): remove deprecated path
This commit is contained in:
parent
7fd170967d
commit
7c50d89873
1
core/.changelog.d/4351.changed.2
Normal file
1
core/.changelog.d/4351.changed.2
Normal file
@ -0,0 +1 @@
|
|||||||
|
Removed deprecated Unchained Capital's multisig path.
|
@ -80,7 +80,6 @@ PATTERN_UNCHAINED_HARDENED = (
|
|||||||
PATTERN_UNCHAINED_UNHARDENED = (
|
PATTERN_UNCHAINED_UNHARDENED = (
|
||||||
"m/45'/coin_type/account/[0-1000000]/change/address_index"
|
"m/45'/coin_type/account/[0-1000000]/change/address_index"
|
||||||
)
|
)
|
||||||
PATTERN_UNCHAINED_DEPRECATED = "m/45'/coin_type'/account'/[0-1000000]/address_index"
|
|
||||||
|
|
||||||
# Model 1 firmware signing.
|
# Model 1 firmware signing.
|
||||||
# 826421588 is ASCII string "T1B1" as a little-endian 32-bit integer.
|
# 826421588 is ASCII string "T1B1" as a little-endian 32-bit integer.
|
||||||
@ -138,7 +137,6 @@ def validate_path_against_script_type(
|
|||||||
if coin.coin_name in BITCOIN_NAMES:
|
if coin.coin_name in BITCOIN_NAMES:
|
||||||
append(PATTERN_UNCHAINED_HARDENED)
|
append(PATTERN_UNCHAINED_HARDENED)
|
||||||
append(PATTERN_UNCHAINED_UNHARDENED)
|
append(PATTERN_UNCHAINED_UNHARDENED)
|
||||||
append(PATTERN_UNCHAINED_DEPRECATED)
|
|
||||||
|
|
||||||
elif coin.segwit and script_type == InputScriptType.SPENDP2SHWITNESS:
|
elif coin.segwit and script_type == InputScriptType.SPENDP2SHWITNESS:
|
||||||
append(PATTERN_BIP49)
|
append(PATTERN_BIP49)
|
||||||
@ -207,7 +205,6 @@ def _get_schemas_for_coin(
|
|||||||
PATTERN_CASA_UNHARDENED,
|
PATTERN_CASA_UNHARDENED,
|
||||||
PATTERN_UNCHAINED_HARDENED,
|
PATTERN_UNCHAINED_HARDENED,
|
||||||
PATTERN_UNCHAINED_UNHARDENED,
|
PATTERN_UNCHAINED_UNHARDENED,
|
||||||
PATTERN_UNCHAINED_DEPRECATED,
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -85,8 +85,6 @@ VECTORS_MULTISIG = ( # paths, address_index
|
|||||||
),
|
),
|
||||||
# Unchained unhardened m/45'/coin_type/account/[0-1000000]/change/address_index
|
# Unchained unhardened m/45'/coin_type/account/[0-1000000]/change/address_index
|
||||||
(("m/45h/0/63/1000000", "m/45h/0/62/1000000", "m/45h/0/61/1000000"), [0, 255]),
|
(("m/45h/0/63/1000000", "m/45h/0/62/1000000", "m/45h/0/61/1000000"), [0, 255]),
|
||||||
# Unchained deprecated m/45'/coin_type'/account'/[0-1000000]/address_index
|
|
||||||
(("m/45h/0h/63h/1000000", "m/45h/0h/62h/1000000", "m/45h/0/61/1000000"), [255]),
|
|
||||||
# Casa Paths
|
# Casa Paths
|
||||||
(("m/45h/0/60/1", "m/45h/1/60/0", "m/45h/2/60/0"), [255]),
|
(("m/45h/0/60/1", "m/45h/1/60/0", "m/45h/2/60/0"), [255]),
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user