Skip to content

Commit 3200f84

Browse files
authored
Update LibSchnorr.sol
1 parent 2a106bc commit 3200f84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libs/LibSchnorr.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ library LibSchnorr {
7878
v = pubKey.yParity() + 27;
7979
}
8080

81-
// Set r = Pₓ
81+
// Set r = Pₓ % Q
8282
uint r = pubKey.x % LibSecp256k1.Q();
8383

8484
// Compute s = Q - (e * Pₓ) (mod Q)

0 commit comments

Comments
 (0)