Update NETWORK_STRING_MAX_SIZE

This commit is contained in:
pscott
2021-08-26 13:21:10 +02:00
parent b2172e4627
commit ef91934b23
3 changed files with 4 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ const network_info_t NETWORK_MAPPING[] = {
{.chain_id = 137, .name = "Polygon", .ticker = "MATIC "},
{.chain_id = 250, .name = "Fantom", .ticker = "FTM "},
{.chain_id = 43114, .name = "Avalanche", .ticker = "AVAX "},
{.chain_id = 11297108099, .name = "Palm", .ticker = "PALM "}};
{.chain_id = 11297108099, .name = "Palm Network", .ticker = "PALM "}};
uint64_t get_chain_id(void) {
uint64_t chain_id = 0;

View File

@@ -1,7 +1,6 @@
#include <stdint.h>
#include "tokens.h"
#define NETWORK_STRING_MAX_SIZE 12
#include "shared_context.h"
typedef struct network_info_s {
const char name[NETWORK_STRING_MAX_SIZE];