Skip to content

Commit

Permalink
Update doc/musig-spec.mediawiki
Browse files Browse the repository at this point in the history
Co-authored-by: brandonblack <90655836+brandonblack@users.noreply.github.com>
  • Loading branch information
jonasnick and brandonblack committed Jan 3, 2022
1 parent fac085a commit 3d73338
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/musig-spec.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ The algorithm ''IsSecond(pk<sub>1..u</sub>, pk')'' is defined as:
The algorithm ''KeyAggCoeff(pk<sub>1..u</sub>, pk)'' is defined as:
* Let ''L = HashKeys(pk<sub>1..u</sub>)''.
* Return 1 if ''IsSecond(pk<sub>1..u</sub>, pk<sub>i</sub>)'', otherwise return ''int(hash<sub>KeyAgg coefficient</sub>(L || pk)) mod n''.
* If ''IsSecond(pk<sub>1..u</sub>, pk<sub>i</sub>)''
** Return 1
* Return ''int(hash<sub>KeyAgg coefficient</sub>(L || pk)) mod n''.
==== Nonce Generation ====
Expand Down

0 comments on commit 3d73338

Please sign in to comment.