Skip to content

Commit

Permalink
Destination address to uppercase
Browse files Browse the repository at this point in the history
  • Loading branch information
kingofpayne authored and agrojean-ledger committed Nov 27, 2023
1 parent d17979b commit 5ff6f1d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app_ui/sign.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ pub fn ui_display_tx(tx: &Tx) -> Result<bool, AppSW> {
let mut to_str = [0u8; 42];
to_str[..2].copy_from_slice("0x".as_bytes());
hex::encode_to_slice(tx.to, &mut to_str[2..]).unwrap();
to_str[2..].make_ascii_uppercase();

// Define transaction review fields
let my_fields = [
Expand Down
Binary file modified tests/snapshots/nanosp/test_sign_tx_long_tx/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/nanosp/test_sign_tx_refused/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/nanosp/test_sign_tx_short_tx/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5ff6f1d

Please sign in to comment.