Skip to content

Commit

Permalink
Just some comment changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoccmartins committed Jan 24, 2025
1 parent a81f619 commit 1aee5a0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,7 @@ VARIANT_PARAM = COIN
VARIANT_VALUES = APTOS

# Enabling DEBUG flag will enable PRINTF and disable optimizations
DEBUG = 1
TEST_PUBLIC_KEY = 1
TESTING = 1

ENABLE_SWAP = 1
#DEBUG = 1

########################################
# Application custom permissions #
Expand Down
2 changes: 0 additions & 2 deletions src/handler/get_public_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ int get_public_key(buffer_t *cdata,
}

// derive private key according to BIP32 path
// TODO(jmartins): review if chain code should come from G_context or needs to be specified
// for the use (ie: SWAP or GET_PUBLIC_KEY)
cx_ecfp_private_key_t private_key = {0};
cx_err_t error = crypto_derive_private_key(&private_key,
output_pubkey_ctx->chain_code,
Expand Down

0 comments on commit 1aee5a0

Please sign in to comment.