Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: Remove unused G_cx #7

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions include/btchip_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 0 additions & 4 deletions src/btchip_helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading