1
0
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:
Jack 2024-10-31 11:01:48 -08:00 committed by matejcik
parent 7b6f444751
commit e30a343095
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1 @@
Add P2WSH support for Unchained BIP32 paths.

View File

@ -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)