Merge pull request #5287

1d14b3f0 ringct: fix capitalization for scaler mult (fuwa)
This commit is contained in:
Riccardo Spagni 2019-04-01 17:19:32 +02:00
commit 7ec799c542
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 3 additions and 3 deletions

View File

@ -408,10 +408,10 @@ namespace rct {
return res;
}
//Computes aL where L is the curve order
bool isInMainSubgroup(const key & a) {
//Computes lA where l is the curve order
bool isInMainSubgroup(const key & A) {
ge_p3 p3;
return toPointCheckOrder(&p3, a.bytes);
return toPointCheckOrder(&p3, A.bytes);
}
//Curve addition / subtractions