Skip to content

Commit ebdaec7

Browse files
committed
musig: clarify doc comment about aggregate nonce proxy
1 parent dc04575 commit ebdaec7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/musig.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,8 @@ impl KeyAggCache {
504504
/// See the `new_nonce_pair` method that allows generating [`SecretNonce`] and [`PublicNonce`]
505505
/// with only the `session_secrand` field.
506506
///
507+
/// If the aggregator lies, the resulting signature will simply be invalid.
508+
///
507509
/// Remember that nonce reuse will immediately leak the secret key!
508510
///
509511
/// # Returns:

0 commit comments

Comments
 (0)