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 <stdbool.h>
#include "ui_logic.h"
@@ -222,3 +224,5 @@ unsigned int ui_712_reject(const bagl_element_t *e)
eip712_context_deinit();
return 0;
}
#endif // HAVE_EIP712_FULL_SUPPORT