We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a106bc commit 3200f84Copy full SHA for 3200f84
src/libs/LibSchnorr.sol
@@ -78,7 +78,7 @@ library LibSchnorr {
78
v = pubKey.yParity() + 27;
79
}
80
81
- // Set r = Pₓ
+ // Set r = Pₓ % Q
82
uint r = pubKey.x % LibSecp256k1.Q();
83
84
// Compute s = Q - (e * Pₓ) (mod Q)
0 commit comments