1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 05:28:40 +00:00

tests: fix eip155 test

This commit is contained in:
Pavol Rusnak 2018-08-20 15:51:31 +02:00
parent b938c52e85
commit 3aeb34f456
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 2 additions and 1 deletions

View File

@ -524,6 +524,7 @@ class ProtocolMixin(object):
response = self.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

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