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

Multisig tests enabled for t2 (#216)

This commit is contained in:
Tomas Susanka 2018-02-08 15:36:26 +01:00 committed by Pavol Rusnak
parent 4cbf74f789
commit 30e5c80956
2 changed files with 1 additions and 3 deletions

View File

@ -33,7 +33,6 @@ TXHASH_c6091a = unhexlify('c6091adf4c0c23982a35899a6e58ae11e703eacd7954f588ed4b9
#
@pytest.mark.skip_t2
class TestMultisig(TrezorTest):
def test_2_of_3(self):

View File

@ -22,7 +22,6 @@ import trezorlib.ckd_public as bip32
from trezorlib import tx_api
@pytest.mark.skip_t2
class TestMultisigChange(TrezorTest):
def setup_method(self, method):
@ -315,7 +314,7 @@ class TestMultisigChange(TrezorTest):
assert hexlify(serialized_tx) == b'0100000002e53cf4e3fcd37f8c439286ce636476e1faeebf86bbb2f228a6b78d1b47c8c61601000000b400473044022059394e0dfcb2d2f4a6108703f801545ca5a820c0ac6a1859d0a3854813de55fa02207b6a57d70b82932ff58163336c461653a2dc82c78ed8157159e5178ac7325390014c69522103dc07026aacb5918dac4e09f9da8290d0ae22161699636c22cace78082116a7792103e70db185fad69c2971f0107a42930e5d82a9ed3a11b922a96fdfc4124b63e54c2103f3fe007a1e34ac76c1a2528e9149f90f9f93739929797afab6a8e18d682fa71053aeffffffff185315ae8050e18efa70d6ca96378a1194f57e2b102511f68b3a1414ee340cd800000000b40047304402205a911685f5b974b2fc4a19d5ce056218773a4d20b5eaae2c2f9594929308182002201e03449f5a8813ec19f408bf1b6f4f334886d6fcf9920e300fd7678ef0724f81014c6952210297ad8a5df42f9e362ef37d9a4ddced89d8f7a143690649aa0d0ff049c7daca842103ed1fd93989595d7ad4b488efd05a22c0239482c9a20923f2f214a38e54f6c41a2103f91460d79e4e463d7d90cb75254bcd62b515a99a950574c721efdc5f711dff3553aeffffffff02005a62020000000017a91466528dd543f94d162c8111d2ec248d25ba9b90948700639f020000000017a914f1fc92c0aed1712911c70a2e09ac15ff0922652f8700000000'
# inputs match, change mismatches (second is change)
# inputs match, change mismatches (second tries to be change but isn't)
def test_multisig_mismatch_change(self):
self.setup_mnemonic_nopin_nopassphrase()