Skip to content

Commit

Permalink
Merge #625: trezor: Set p2sh multisig output script type correctly
Browse files Browse the repository at this point in the history
36aca3b trezor: Set p2sh multisig output script type correctly (Andrew Chow)

Pull request description:

  P2SH outputs that are multisigs that belong to the wallet should be PAYTOMULTISIG

  Fixes  #624

Top commit has no ACKs.

Tree-SHA512: 8cc9f33a0b9c692e149c6676a8318efb8252ffc8b2a1e3ddbfe485723b696b9771319a79ce932485b531fb7d63ec4ef9bc33c1b65ed2cf23a66eba8e7fc73983
  • Loading branch information
achow101 committed Aug 23, 2022
2 parents 2b8d341 + 36aca3b commit e731395
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hwilib/devices/trezor.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ def ignore_input() -> None:
tx.xpub, psbt_out)
if is_ms:
txoutput.multisig = multisig
txoutput.script_type = messages.OutputScriptType.PAYTOMULTISIG

# append to outputs
outputs.append(txoutput)
Expand Down

0 comments on commit e731395

Please sign in to comment.