Skip to content

Commit

Permalink
feat: support Unchained p2wsh path
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadouts committed Oct 18, 2024
1 parent f1e01ed commit d1e1c68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/apps/bitcoin/keychain.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ def validate_path_against_script_type(
append(PATTERN_GREENADDRESS_B)
if coin.coin_name in BITCOIN_NAMES:
append(PATTERN_CASA_UNHARDENED)
append(PATTERN_UNCHAINED_HARDENED)
append(PATTERN_UNCHAINED_UNHARDENED)

elif coin.segwit and script_type == InputScriptType.SPENDWITNESS:
append(PATTERN_BIP84)
Expand Down

0 comments on commit d1e1c68

Please sign in to comment.