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:
parent
b938c52e85
commit
3aeb34f456
@ -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
|
||||
|
@ -160,7 +160,7 @@ class TestMsgEthereumSigntxChainId(TrezorTest):
|
||||
(
|
||||
2147483630,
|
||||
1,
|
||||
4294967295,
|
||||
4294967296,
|
||||
b"fd0377ff429a51ae284c4b09b7d7c26c78944c86bb311b5988d70be4fc59eeba",
|
||||
b"2ad183858ac6b1efa820b9ee2c2dbf6659a73cc5b714d32c380b263d024f2ee9",
|
||||
0,
|
||||
|
Loading…
Reference in New Issue
Block a user