Now only compiles full EIP-712 support for capable devices
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#ifndef FIELD_HASH_H_
|
||||
#define FIELD_HASH_H_
|
||||
|
||||
#ifdef HAVE_EIP712_FULL_SUPPORT
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
@@ -23,4 +25,7 @@ void field_hash_deinit(void);
|
||||
bool field_hash(const uint8_t *data,
|
||||
uint8_t data_length,
|
||||
bool partial);
|
||||
|
||||
#endif // HAVE_EIP712_FULL_SUPPORT
|
||||
|
||||
#endif // FIELD_HASH_H_
|
||||
|
||||
Reference in New Issue
Block a user