Skip to content

Commit 9c54198

Browse files
musig: clarify doc comment about aggregate nonce proxy
1 parent b1e45eb commit 9c54198

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)