Skip to content

Commit aa4b5fb

Browse files
committed
clippy test fixes
1 parent 5a66946 commit aa4b5fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frost-secp256k1-tr/tests/tweaking_tests.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ fn check_tweaked_sign_with_dealer() -> Result<(), Box<dyn Error>> {
131131
fn taproot_tweak_pubkey(pubkey: [u8; 32], merkle_root: &[u8]) -> (bool, [u8; 32]) {
132132
let prefix = Sha256::digest(b"TapTweak");
133133
let tweak_hash = Sha256::new()
134-
.chain_update(&prefix)
135-
.chain_update(&prefix)
136-
.chain_update(&pubkey)
134+
.chain_update(prefix)
135+
.chain_update(prefix)
136+
.chain_update(pubkey)
137137
.chain_update(merkle_root)
138138
.finalize();
139139
let t = k256::Scalar::from(

0 commit comments

Comments
 (0)