Removes useless space at the end of tickers
This commit is contained in:
@@ -20,8 +20,7 @@ int handle_get_printable_amount(get_printable_amount_parameters_t* params, chain
|
||||
if (params->is_fee) {
|
||||
uint8_t ticker_len = strnlen(config->coinName, sizeof(config->coinName));
|
||||
memcpy(ticker, config->coinName, ticker_len);
|
||||
ticker[ticker_len] = ' ';
|
||||
ticker[ticker_len + 1] = '\0';
|
||||
ticker[ticker_len] = '\0';
|
||||
decimals = WEI_TO_ETHER;
|
||||
} else {
|
||||
// If the amount is *not* a fee, decimals and ticker are built from the given config
|
||||
|
||||
Reference in New Issue
Block a user