mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-17 01:52:02 +00:00
Omit leading space in shortcut in GetFeatures
This commit is contained in:
parent
1566631023
commit
cf3dc6051c
@ -242,7 +242,7 @@ void fsm_msgGetFeatures(GetFeatures *msg)
|
|||||||
}
|
}
|
||||||
if (coins[i].coin_shortcut) {
|
if (coins[i].coin_shortcut) {
|
||||||
resp->coins[i].has_coin_shortcut = true;
|
resp->coins[i].has_coin_shortcut = true;
|
||||||
strlcpy(resp->coins[i].coin_shortcut, coins[i].coin_shortcut, sizeof(resp->coins[i].coin_shortcut));
|
strlcpy(resp->coins[i].coin_shortcut, coins[i].coin_shortcut + 1, sizeof(resp->coins[i].coin_shortcut));
|
||||||
}
|
}
|
||||||
resp->coins[i].has_address_type = coins[i].has_address_type;
|
resp->coins[i].has_address_type = coins[i].has_address_type;
|
||||||
resp->coins[i].address_type = coins[i].address_type;
|
resp->coins[i].address_type = coins[i].address_type;
|
||||||
|
Loading…
Reference in New Issue
Block a user