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(