diff --git a/src/app_ui/sign.rs b/src/app_ui/sign.rs index a7ada44d..4e809ee9 100644 --- a/src/app_ui/sign.rs +++ b/src/app_ui/sign.rs @@ -48,6 +48,7 @@ pub fn ui_display_tx(tx: &Tx) -> Result { 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 = [ diff --git a/tests/snapshots/nanosp/test_sign_tx_long_tx/00002.png b/tests/snapshots/nanosp/test_sign_tx_long_tx/00002.png index 3b04784d..c42e5490 100644 Binary files a/tests/snapshots/nanosp/test_sign_tx_long_tx/00002.png and b/tests/snapshots/nanosp/test_sign_tx_long_tx/00002.png differ diff --git a/tests/snapshots/nanosp/test_sign_tx_refused/00002.png b/tests/snapshots/nanosp/test_sign_tx_refused/00002.png index 3b04784d..c42e5490 100644 Binary files a/tests/snapshots/nanosp/test_sign_tx_refused/00002.png and b/tests/snapshots/nanosp/test_sign_tx_refused/00002.png differ diff --git a/tests/snapshots/nanosp/test_sign_tx_short_tx/00002.png b/tests/snapshots/nanosp/test_sign_tx_short_tx/00002.png index 3b04784d..c42e5490 100644 Binary files a/tests/snapshots/nanosp/test_sign_tx_short_tx/00002.png and b/tests/snapshots/nanosp/test_sign_tx_short_tx/00002.png differ