From aa4b5fbd5f0e4fea5455570218b951bda5c908ce Mon Sep 17 00:00:00 2001 From: conduition Date: Fri, 8 Nov 2024 22:22:26 +0000 Subject: [PATCH] clippy test fixes --- frost-secp256k1-tr/tests/tweaking_tests.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frost-secp256k1-tr/tests/tweaking_tests.rs b/frost-secp256k1-tr/tests/tweaking_tests.rs index 83b7a032..3fc74aef 100644 --- a/frost-secp256k1-tr/tests/tweaking_tests.rs +++ b/frost-secp256k1-tr/tests/tweaking_tests.rs @@ -131,9 +131,9 @@ fn check_tweaked_sign_with_dealer() -> Result<(), Box> { fn taproot_tweak_pubkey(pubkey: [u8; 32], merkle_root: &[u8]) -> (bool, [u8; 32]) { let prefix = Sha256::digest(b"TapTweak"); let tweak_hash = Sha256::new() - .chain_update(&prefix) - .chain_update(&prefix) - .chain_update(&pubkey) + .chain_update(prefix) + .chain_update(prefix) + .chain_update(pubkey) .chain_update(merkle_root) .finalize(); let t = k256::Scalar::from(