From 80521ad4e3c2ade8e9bb50c301b981d9a9f52898 Mon Sep 17 00:00:00 2001 From: Xavier Chapron Date: Thu, 15 Feb 2024 15:23:48 +0100 Subject: [PATCH] src: Remove unused G_cx --- include/btchip_helpers.h | 5 ----- src/btchip_helpers.c | 4 ---- 2 files changed, 9 deletions(-) diff --git a/include/btchip_helpers.h b/include/btchip_helpers.h index e1e7f1e..eb65052 100644 --- a/include/btchip_helpers.h +++ b/include/btchip_helpers.h @@ -26,11 +26,6 @@ #define OUTPUT_SCRIPT_NATIVE_WITNESS_PROGRAM_OFFSET 3 -#ifdef HAVE_GROESTL -#include "cx_ram.h" -extern union cx_u G_cx; -#endif // HAVE_GROESTL - unsigned char btchip_output_script_is_regular(unsigned char *buffer); unsigned char btchip_output_script_is_p2sh(unsigned char *buffer); unsigned char btchip_output_script_is_op_return(unsigned char *buffer); diff --git a/src/btchip_helpers.c b/src/btchip_helpers.c index 8afaab8..cff1550 100644 --- a/src/btchip_helpers.c +++ b/src/btchip_helpers.c @@ -18,10 +18,6 @@ #include "btchip_apdu_constants.h" #include "btchip_internal.h" -#ifdef HAVE_GROESTL -union cx_u G_cx; -#endif // HAVE_GROESTL - const unsigned char TRANSACTION_OUTPUT_SCRIPT_PRE[] = { 0x19, 0x76, 0xA9, 0x14}; // script length, OP_DUP, OP_HASH160, address length