Skip to content

Commit c018ae3

Browse files
committed
fix: tweaking tests should pass non-optional tweak params
1 parent 847a565 commit c018ae3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

frost-secp256k1-tr/tests/tweaking_tests.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ fn check_additional_tweaked_sign_with_dealer() -> Result<(), Box<dyn Error>> {
6161
&signing_package,
6262
nonces,
6363
key_package,
64-
Some(&signing_parameters),
64+
&signing_parameters,
6565
)?;
6666
signature_shares.insert(*participant_identifier, signature_share);
6767
}
@@ -70,7 +70,7 @@ fn check_additional_tweaked_sign_with_dealer() -> Result<(), Box<dyn Error>> {
7070
&signing_package,
7171
&signature_shares,
7272
&pubkey_package,
73-
Some(&signing_parameters),
73+
&signing_parameters,
7474
)?;
7575

7676
pubkey_package
@@ -179,7 +179,7 @@ fn check_tweaked_sign_with_dealer() -> Result<(), Box<dyn Error>> {
179179
&signing_package,
180180
nonces,
181181
key_package,
182-
Some(&signing_parameters),
182+
&signing_parameters,
183183
)?;
184184
signature_shares.insert(*participant_identifier, signature_share);
185185
}
@@ -188,7 +188,7 @@ fn check_tweaked_sign_with_dealer() -> Result<(), Box<dyn Error>> {
188188
&signing_package,
189189
&signature_shares,
190190
&pubkey_package,
191-
Some(&signing_parameters),
191+
&signing_parameters,
192192
)?;
193193

194194
pubkey_package

0 commit comments

Comments
 (0)