mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 22:38:08 +00:00
tests/sign_tx: Don't expect signatures to be returned for external inputs.
This commit is contained in:
parent
712ec68c1b
commit
6c523d09e0
@ -135,7 +135,10 @@ def sign_tx(client, coin_name, inputs, outputs, details=None, prev_txes=None):
|
|||||||
res = client.call(signtx)
|
res = client.call(signtx)
|
||||||
|
|
||||||
# Prepare structure for signatures
|
# Prepare structure for signatures
|
||||||
signatures = [None] * len(inputs)
|
signatures = [
|
||||||
|
None if i.script_type != messages.InputScriptType.EXTERNAL else ""
|
||||||
|
for i in inputs
|
||||||
|
]
|
||||||
serialized_tx = b""
|
serialized_tx = b""
|
||||||
|
|
||||||
def copy_tx_meta(tx):
|
def copy_tx_meta(tx):
|
||||||
|
Loading…
Reference in New Issue
Block a user