From 891b23c18a7766c8f75ececfd2d6bb48fae3396b Mon Sep 17 00:00:00 2001 From: Moudy Date: Fri, 15 May 2026 15:27:30 +0200 Subject: [PATCH] fix: ci --- tools/wallet_crypto_bench/src/main.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/wallet_crypto_bench/src/main.rs b/tools/wallet_crypto_bench/src/main.rs index 98c6fbbc..df52aacf 100644 --- a/tools/wallet_crypto_bench/src/main.rs +++ b/tools/wallet_crypto_bench/src/main.rs @@ -10,11 +10,14 @@ #![allow( clippy::arithmetic_side_effects, - clippy::print_stdout, + clippy::as_conversions, + clippy::cast_precision_loss, + clippy::doc_markdown, + clippy::float_arithmetic, clippy::print_stderr, + clippy::print_stdout, clippy::std_instead_of_alloc, clippy::std_instead_of_core, - clippy::float_arithmetic, reason = "Bench tool" )] @@ -88,7 +91,7 @@ fn main() -> Result<()> { // SharedSecretKey: caller has ephemeral secret, recipient has VSK→VPK. // We bench the SENDER side: derive ephemeral pubkey, then SharedSecretKey::new(scalar, point). let recipient_kc = KeyChain::new_os_random(); - let vpk = recipient_kc.viewing_public_key.clone(); + let vpk = recipient_kc.viewing_public_key; results.push(time("SharedSecretKey::new (sender DH)", ITERS, || { let mut bytes = [0_u8; 32]; OsRng.fill_bytes(&mut bytes);