mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-16 11:28:14 +00:00
feat: support Unchained p2wsh path
fix: move unchained paths to bitcoin multisig SPENDWITNESS chore: add changelog
This commit is contained in:
parent
7b6f444751
commit
e30a343095
1
core/.changelog.d/4271.added
Normal file
1
core/.changelog.d/4271.added
Normal file
@ -0,0 +1 @@
|
||||
Add P2WSH support for Unchained BIP32 paths.
|
@ -158,6 +158,9 @@ def validate_path_against_script_type(
|
||||
if slip44 == SLIP44_BITCOIN:
|
||||
append(PATTERN_GREENADDRESS_A)
|
||||
append(PATTERN_GREENADDRESS_B)
|
||||
if coin.coin_name in BITCOIN_NAMES and multisig:
|
||||
append(PATTERN_UNCHAINED_HARDENED)
|
||||
append(PATTERN_UNCHAINED_UNHARDENED)
|
||||
|
||||
elif coin.taproot and script_type == InputScriptType.SPENDTAPROOT:
|
||||
append(PATTERN_BIP86)
|
||||
|
Loading…
Reference in New Issue
Block a user