1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-29 10:58:21 +00:00

layout: use "address" instead of "account" for EthereumGetAddress

This commit is contained in:
Pavol Rusnak 2018-10-22 15:17:57 +02:00
parent 8e6369e1ba
commit e1700c2ce1
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -109,7 +109,11 @@ static const char *address_n_str(const uint32_t *address_n, size_t address_n_cou
if (native_segwit) {
strlcat(path, " segwit", sizeof(path));
}
strlcat(path, " account #", sizeof(path));
if (address_is_account) {
strlcat(path, " address #", sizeof(path));
} else {
strlcat(path, " account #", sizeof(path));
}
char acc[3];
memset(acc, 0, sizeof(acc));
if (accnum < 10) {