1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-11 07:50:57 +00:00

device_tests: fix test_msg_signtx_zcash

This commit is contained in:
Pavol Rusnak 2018-06-15 10:34:49 +02:00
parent ebe41c69f8
commit 3f93b28fe4
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -65,5 +65,5 @@ class TestMsgSigntxZcash(TrezorTest):
(signatures, serialized_tx) = self.client.sign_tx('Zcash Testnet', [inp1, ], [out1, ], version=3, overwintered=True)
# Accepted by network: tx TODO
assert hexlify(serialized_tx) == b'030000807082c40301dc754d63eff4698ee321476872519c53f14cfe58c9425c7ee464c206461ef5aa010000006a473044022036556e76f99d0456eb893c5e8cbcae7fd615210c0b998c77de23e685c3064e8102201c90df2ecb753604e6ae805f225550bd48e730c9743ef05a5e29c945a5b2f9b60121030e669acac1f280d1ddf441cd2ba5e97417bf2689e4bbec86df4f831bf9f7ffd0ffffffff016c9be111000000001976a9145b157a678a10021243307e4bb58f36375aa80e1088ac000000000000000000'
# Accepted by network: tx eda9b772c47f0c29310759960e0081c98707aa67a0a2738bcc71439fcf360675
assert hexlify(serialized_tx) == b'030000807082c40301dc754d63eff4698ee321476872519c53f14cfe58c9425c7ee464c206461ef5aa010000006a47304402207e45f303b4e42be824513855eb21653e1d2749cd94dcd0f0613d3f85d4efd1e20220699ffbdbcad889af7ede5ce9febf7a5ef8f5619b2464824529974c400cffaebc0121030e669acac1f280d1ddf441cd2ba5e97417bf2689e4bbec86df4f831bf9f7ffd0ffffffff016c9be111000000001976a9145b157a678a10021243307e4bb58f36375aa80e1088ac000000000000000000'