Skip to content

Commit 7a6fd0e

Browse files
committed
trezor: Set multisig change as PAYTOMULTISIG for non-segwit only
1 parent 092cc1c commit 7a6fd0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hwilib/devices/trezor.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,8 @@ def ignore_input() -> None:
581581
tx.xpub, psbt_out)
582582
if is_ms:
583583
txoutput.multisig = multisig
584-
txoutput.script_type = messages.OutputScriptType.PAYTOMULTISIG
584+
if not wit:
585+
txoutput.script_type = messages.OutputScriptType.PAYTOMULTISIG
585586

586587
# append to outputs
587588
outputs.append(txoutput)

0 commit comments

Comments
 (0)