Now only compiles full EIP-712 support for capable devices

This commit is contained in:
Alexandre Paillier
2022-05-16 10:59:20 +02:00
parent b9820774ba
commit 2fa6379470
26 changed files with 109 additions and 6 deletions

View File

@@ -1,8 +1,9 @@
#ifndef EIP712_CTX_H_
#define EIP712_CTX_H_
#include <stdbool.h>
#ifdef HAVE_EIP712_FULL_SUPPORT
#include <stdbool.h>
extern uint8_t *typenames_array;
extern uint8_t *structs_array;
@@ -13,4 +14,6 @@ void eip712_context_deinit(void);
extern bool eip712_context_initialized;
#endif // HAVE_EIP712_FULL_SUPPORT
#endif // EIP712_CTX_H_