1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-21 23:18:13 +00:00

core: fix multisig change device test

This commit is contained in:
Pavol Rusnak 2019-04-23 20:34:00 +02:00
parent 914ac8a2bd
commit 4ec3f36386
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -127,15 +127,7 @@ class TestMultisigChange(TrezorTest):
proto.TxRequest(
request_type=proto.RequestType.TXINPUT,
details=proto.TxRequestDetailsType(request_index=0),
)
]
if TREZOR_VERSION != 1:
# trezor 1 does not have UnknownDerivationPath implemented
resp.append(
proto.ButtonRequest(code=proto.ButtonRequestType.UnknownDerivationPath)
)
resp += [
),
proto.TxRequest(
request_type=proto.RequestType.TXMETA,
details=proto.TxRequestDetailsType(tx_hash=inp1.prev_hash),
@ -162,14 +154,6 @@ class TestMultisigChange(TrezorTest):
request_type=proto.RequestType.TXINPUT,
details=proto.TxRequestDetailsType(request_index=1),
),
]
if TREZOR_VERSION != 1:
# trezor 1 does not have UnknownDerivationPath implemented
resp.append(
proto.ButtonRequest(code=proto.ButtonRequestType.UnknownDerivationPath)
)
resp += [
proto.TxRequest(
request_type=proto.RequestType.TXMETA,
details=proto.TxRequestDetailsType(tx_hash=inp2.prev_hash),