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,3 +1,5 @@
#ifdef HAVE_EIP712_FULL_SUPPORT
#include <stdlib.h>
#include <string.h>
#include "encode_field.h"
@@ -108,3 +110,5 @@ void *encode_address(const uint8_t *const value, uint8_t length)
}
return encode_integer(value, length);
}
#endif // HAVE_EIP712_FULL_SUPPORT