Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yogh333 committed Oct 7, 2024
1 parent 979099e commit d87f01b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions starknet/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ fn handle_apdu(comm: &mut io::Comm, ins: &Ins, ctx: &mut Ctx) -> Result<Vec<u8>,
let version_patch = env!("CARGO_PKG_VERSION_PATCH").parse::<u8>().unwrap();

rdata.extend_from_slice([version_major, version_minor, version_patch].as_slice());
//comm.append([version_major, version_minor, version_patch].as_slice());
}
Ins::GetPubkey { display } => {
ctx.reset();
Expand All @@ -148,7 +147,6 @@ fn handle_apdu(comm: &mut io::Comm, ins: &Ins, ctx: &mut Ctx) -> Result<Vec<u8>,
true => display::pkey_ui(key.as_ref(), ctx),
};
if ret {
//comm.append(key.as_ref());
rdata.extend_from_slice(key.as_ref());
} else {
return Err(io::StatusWords::UserCancelled.into());
Expand Down

0 comments on commit d87f01b

Please sign in to comment.