Now copies the EIP712 contract address into memory so it can be used later

This commit is contained in:
Alexandre Paillier
2022-06-09 15:21:27 +02:00
parent f480d5091e
commit 7e63bd8435
2 changed files with 17 additions and 9 deletions

View File

@@ -4,12 +4,14 @@
#ifdef HAVE_EIP712_FULL_SUPPORT
#include <stdbool.h>
#include "ethUstream.h" // ADDRESS_LENGTH
typedef struct
{
uint8_t *typenames_array;
uint8_t *structs_array;
uint8_t *current_struct_fields_array;
uint8_t contract_addr[ADDRESS_LENGTH];
} s_eip712_context;
extern s_eip712_context *eip712_context;