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 @@
#ifdef HAVE_EIP712_FULL_SUPPORT
#include <stdint.h>
#include "mem.h"
#include "shared_context.h"
#define SIZE_MEM_BUFFER 5120
static uint8_t mem_buffer[SIZE_MEM_BUFFER];
@@ -75,3 +76,5 @@ void mem_dealloc(size_t size)
mem_idx -= size;
}
}
#endif // HAVE_EIP712_FULL_SUPPORT