mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +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) {
|
||||
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].address_type = coins[i].address_type;
|
||||
|
Loading…
Reference in New Issue
Block a user