Can now read a chain ID from the swap sub coin config

This commit is contained in:
Alexandre Paillier
2024-02-08 15:10:59 +01:00
parent c84794b257
commit 62d8b327d6
4 changed files with 46 additions and 22 deletions

View File

@@ -19,4 +19,8 @@
#include <stdint.h>
bool parse_swap_config(const uint8_t* config, uint8_t config_len, char* ticker, uint8_t* decimals);
bool parse_swap_config(const uint8_t* config,
uint8_t config_len,
char* ticker,
uint8_t* decimals,
uint64_t* chain_id);