mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-01 20:08:26 +00:00
layout: use "address" instead of "account" for EthereumGetAddress
This commit is contained in:
parent
8e6369e1ba
commit
e1700c2ce1
@ -109,7 +109,11 @@ static const char *address_n_str(const uint32_t *address_n, size_t address_n_cou
|
|||||||
if (native_segwit) {
|
if (native_segwit) {
|
||||||
strlcat(path, " segwit", sizeof(path));
|
strlcat(path, " segwit", sizeof(path));
|
||||||
}
|
}
|
||||||
|
if (address_is_account) {
|
||||||
|
strlcat(path, " address #", sizeof(path));
|
||||||
|
} else {
|
||||||
strlcat(path, " account #", sizeof(path));
|
strlcat(path, " account #", sizeof(path));
|
||||||
|
}
|
||||||
char acc[3];
|
char acc[3];
|
||||||
memset(acc, 0, sizeof(acc));
|
memset(acc, 0, sizeof(acc));
|
||||||
if (accnum < 10) {
|
if (accnum < 10) {
|
||||||
|
Loading…
Reference in New Issue
Block a user