From 3095d54394c21da16d8018c4810ed3e27c6bc2c4 Mon Sep 17 00:00:00 2001 From: Alexandre Paillier Date: Wed, 4 May 2022 11:43:20 +0200 Subject: [PATCH] Now initializes the eip712 context --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 279a9ac..fdc82bf 100644 --- a/src/main.c +++ b/src/main.c @@ -29,7 +29,7 @@ #include "handle_swap_sign_transaction.h" #include "handle_get_printable_amount.h" #include "handle_check_address.h" -#include "mem.h" +#include "context.h" #ifdef HAVE_STARKWARE #include "stark_crypto.h" @@ -893,7 +893,7 @@ void coin_main(chain_config_t *coin_config) { } reset_app_context(); tmpCtx.transactionContext.currentItemIndex = 0; - mem_init(); + init_eip712_context(); for (;;) { UX_INIT();