From 1aee5a06d4ef60ee2bfcfa8a96593a5dd2013a6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Martins?= Date: Fri, 24 Jan 2025 16:21:44 +0000 Subject: [PATCH] Just some comment changes. --- Makefile | 6 +----- src/handler/get_public_key.c | 2 -- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 8fc76b5..9d9fdfc 100644 --- a/Makefile +++ b/Makefile @@ -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 # diff --git a/src/handler/get_public_key.c b/src/handler/get_public_key.c index cf092e5..5cf0195 100644 --- a/src/handler/get_public_key.c +++ b/src/handler/get_public_key.c @@ -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,