Skip to content

Commit

Permalink
clippy test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
conduition committed Nov 8, 2024
1 parent 5a66946 commit aa4b5fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frost-secp256k1-tr/tests/tweaking_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ fn check_tweaked_sign_with_dealer() -> Result<(), Box<dyn Error>> {
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(
Expand Down

0 comments on commit aa4b5fb

Please sign in to comment.