Skip to content

Commit

Permalink
remove testing messages (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
yhql authored Jan 15, 2024
1 parent 083b1d7 commit ee0fbed
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/handlers/get_public_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down Expand Up @@ -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);
}
}
Expand Down

0 comments on commit ee0fbed

Please sign in to comment.