Omit leading space in shortcut in GetFeatures

This commit is contained in:
Jochen Hoenicke 2017-11-04 18:15:50 +01:00 committed by Pavol Rusnak
parent 1566631023
commit cf3dc6051c
1 changed files with 1 additions and 1 deletions

View File

@ -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;