Skip to content

Commit a990eca

Browse files
committed
musig: clarify doc comment about aggregate nonce proxy
1 parent 514cf4c commit a990eca

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
@@ -502,6 +502,8 @@ impl KeyAggCache {
502502
/// See the `new_nonce_pair` method that allows generating [`SecretNonce`] and [`PublicNonce`]
503503
/// with only the `session_secrand` field.
504504
///
505+
/// If the aggregator lies, the resulting signature will simply be invalid.
506+
///
505507
/// Remember that nonce reuse will immediately leak the secret key!
506508
///
507509
/// # Returns:

0 commit comments

Comments
 (0)