1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00

tests: update zcash test

This commit is contained in:
Pavol Rusnak 2018-06-05 17:20:38 +02:00
parent e4dcc8d8c6
commit 21670b8226
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -66,4 +66,4 @@ 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'030000807082c40301dc754d63eff4698ee321476872519c53f14cfe58c9425c7ee464c206461ef5aa010000006a473044022039e3814541d8b9fcd09a43e9320514a327c79ce9473f679857afaee12ec7ba3d02207b00fad860dba848f280674129b347c7ffebeede8c85cf742ed854b0347af3600121030e669acac1f280d1ddf441cd2ba5e97417bf2689e4bbec86df4f831bf9f7ffd0ffffffff016c9be111000000001976a9145b157a678a10021243307e4bb58f36375aa80e1088ac0000000000000000'
assert hexlify(serialized_tx) == b'030000807082c40301dc754d63eff4698ee321476872519c53f14cfe58c9425c7ee464c206461ef5aa010000006a4730440220564274fcf204fd2f23fa4082b3206e28b92fec285a95acd737ba84faff87acf702201dcdd5b54240ec01f5ae8c1da4cea38b7f599289f8ced6c9aa9666ebfeff233f0121030e669acac1f280d1ddf441cd2ba5e97417bf2689e4bbec86df4f831bf9f7ffd0ffffffff016c9be111000000001976a9145b157a678a10021243307e4bb58f36375aa80e1088ac000000000000000000'