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:
parent
652a40c3e6
commit
766a6c1189
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user