Fix sc_0 to skGen in ProveRange

This commit is contained in:
Shen Noether 2016-05-29 18:34:43 -06:00 committed by moneromooo-monero
parent d37c1db032
commit 09fb9f4b75
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -296,7 +296,7 @@ namespace rct {
key64 CiH; key64 CiH;
int i = 0; int i = 0;
for (i = 0; i < ATOMS; i++) { for (i = 0; i < ATOMS; i++) {
sc_0(ai[i].bytes); skGen(ai[i]);
if (b[i] == 0) { if (b[i] == 0) {
scalarmultBase(sig.Ci[i], ai[i]); scalarmultBase(sig.Ci[i], ai[i]);
} }