diff --git a/firmware/ethereum.c b/firmware/ethereum.c index f06215c03f..b05661777e 100644 --- a/firmware/ethereum.c +++ b/firmware/ethereum.c @@ -293,7 +293,7 @@ static void layoutEthereumConfirmTx(const uint8_t *to, uint32_t to_len, const ui if (to_len) { char to_str[41]; - ethereum_address_checksum(to, to_str); + ethereum_address_checksum(to, to_str, false, 0); memcpy(_to1 + 5, to_str, 10); memcpy(_to2, to_str + 10, 15); memcpy(_to3, to_str + 25, 15); diff --git a/firmware/fsm_msg_ethereum.h b/firmware/fsm_msg_ethereum.h index 0c9420e3fe..9a20aa8e53 100644 --- a/firmware/fsm_msg_ethereum.h +++ b/firmware/fsm_msg_ethereum.h @@ -36,7 +36,7 @@ void fsm_msgEthereumGetAddress(EthereumGetAddress *msg) strlcpy(desc, "Address:", sizeof(desc)); char address[43] = { '0', 'x' }; - ethereum_address_checksum(resp->address.bytes, address + 2); + ethereum_address_checksum(resp->address.bytes, address + 2, false, 0); if (!fsm_layoutAddress(address, desc, false, 0, msg->address_n, msg->address_n_count)) { return; @@ -80,7 +80,7 @@ void fsm_msgEthereumVerifyMessage(EthereumVerifyMessage *msg) } char address[43] = { '0', 'x' }; - ethereum_address_checksum(msg->address.bytes, address + 2); + ethereum_address_checksum(msg->address.bytes, address + 2, false, 0); layoutVerifyAddress(address); if (!protectButton(ButtonRequestType_ButtonRequest_Other, false)) { fsm_sendFailure(FailureType_Failure_ActionCancelled, NULL); diff --git a/vendor/trezor-crypto b/vendor/trezor-crypto index f586155d80..3e8974ff88 160000 --- a/vendor/trezor-crypto +++ b/vendor/trezor-crypto @@ -1 +1 @@ -Subproject commit f586155d808be7467e31da907b0106b4c31a0d1d +Subproject commit 3e8974ff8871263a70b7fbb9a27a1da5b0d810f7