From ee0fbed8e535f6a0e5a23ba31f797d91d7da2734 Mon Sep 17 00:00:00 2001 From: yhql Date: Mon, 15 Jan 2024 14:10:00 +0100 Subject: [PATCH] remove testing messages (#48) --- src/handlers/get_public_key.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/handlers/get_public_key.rs b/src/handlers/get_public_key.rs index d603f91..b99af96 100644 --- a/src/handlers/get_public_key.rs +++ b/src/handlers/get_public_key.rs @@ -20,7 +20,6 @@ use crate::utils::Bip32Path; use crate::AppSW; use ledger_device_sdk::ecc::{Secp256k1, SeedDerive}; use ledger_device_sdk::io::Comm; -use ledger_device_sdk::testing; use ledger_secure_sdk_sys::{ cx_hash_no_throw, cx_hash_t, cx_keccak_init_no_throw, cx_sha3_t, CX_LAST, CX_OK, }; @@ -58,9 +57,7 @@ pub fn handler_get_public_key(comm: &mut Comm, display: bool) -> Result<(), AppS } } - testing::debug_print("showing public key\n"); if !ui_display_pk(&address)? { - testing::debug_print("denied\n"); return Err(AppSW::Deny); } }