From 5ffaae0eb514c35d65c27939b0130974ff5e3bc8 Mon Sep 17 00:00:00 2001 From: polyprogrammist Date: Tue, 30 Jul 2024 18:55:27 +0800 Subject: [PATCH] fix clippy --- src/app_ui/address.rs | 2 +- src/handlers/common/action/delegate.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app_ui/address.rs b/src/app_ui/address.rs index 05ee606..b533a92 100644 --- a/src/app_ui/address.rs +++ b/src/app_ui/address.rs @@ -71,7 +71,7 @@ pub fn ui_display_hex(public_key: &crypto::PublicKeyBe) -> Result { { let my_field = [Field { name: "Wallet ID", - value: &pbkey_str, + value: pbkey_str, }]; let my_review = MultiFieldReview::new( &my_field, diff --git a/src/handlers/common/action/delegate.rs b/src/handlers/common/action/delegate.rs index 1574b5c..f106005 100644 --- a/src/handlers/common/action/delegate.rs +++ b/src/handlers/common/action/delegate.rs @@ -11,6 +11,6 @@ pub fn handle( _params: ActionParams, ) -> Result<(), AppSW> { stream.reader.comm.reply(AppSW::TxParsingFail); - sign_ui::action::ui_display_delegate_error(&mut stream.reader.comm); + sign_ui::action::ui_display_delegate_error(stream.reader.comm); Err(AppSW::TxParsingFail) }