1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-22 12:32:02 +00:00

add space before coin shortcut because of how new formatter works

This commit is contained in:
Pavol Rusnak 2017-05-19 11:29:44 +02:00
parent 652a40c3e6
commit 766a6c1189
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
3 changed files with 9 additions and 21 deletions

View File

@ -36,17 +36,6 @@ const CoinType coins[COINS_COUNT] = {
{true, "Zcash Testnet", true, " TAZ", true, 7461, true, 10000000, true, 7354, true, "\x16" "Zcash Signed Message:\n", true, 0x043587cf, true, 0x04358394, true, false, },
};
const CoinType *coinByShortcut(const char *shortcut)
{
if (!shortcut) return 0;
for (int i = 0; i < COINS_COUNT; i++) {
if (strcmp(shortcut, coins[i].coin_shortcut) == 0) {
return &(coins[i]);
}
}
return 0;
}
const CoinType *coinByName(const char *name)
{
if (!name) return 0;

View File

@ -26,7 +26,6 @@
extern const CoinType coins[COINS_COUNT];
const CoinType *coinByShortcut(const char *shortcut);
const CoinType *coinByName(const char *name);
const CoinType *coinByAddressType(uint32_t address_type);
bool coinExtractAddressType(const CoinType *coin, const char *addr, uint32_t *address_type);