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

tests: fix eip155 test

This commit is contained in:
Pavol Rusnak 2018-08-20 15:51:31 +02:00 committed by matejcik
parent 5a4c37d41c
commit 3c48f906b2
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ def sign_tx(
data, chunk = data[data_length:], data[:data_length]
response = client.call(proto.EthereumTxAck(data_chunk=chunk))
# https://github.com/trezor/trezor-mcu/pull/399
# https://github.com/trezor/trezor-core/pull/311
# only signature bit returned. recalculate signature_v
if response.signature_v <= 1:
response.signature_v += 2 * chain_id + 35

View File

@ -163,7 +163,7 @@ class TestMsgEthereumSigntxChainId(TrezorTest):
(
2147483630,
1,
4294967295,
4294967296,
b"fd0377ff429a51ae284c4b09b7d7c26c78944c86bb311b5988d70be4fc59eeba",
b"2ad183858ac6b1efa820b9ee2c2dbf6659a73cc5b714d32c380b263d024f2ee9",
0,