aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShen Noether <Shen.Noether@gmx.com>2016-05-29 18:34:43 -0600
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-08-28 21:27:48 +0100
commit09fb9f4b75d29e1211f62038c794e6c63420e05e (patch)
tree8b40e66874bd25de1fd174d83de4342348fc7bd1
parentringct: add a few consts where appropriate (diff)
downloadmonero-09fb9f4b75d29e1211f62038c794e6c63420e05e.tar.xz
Fix sc_0 to skGen in ProveRange
-rw-r--r--src/ringct/rctSigs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ringct/rctSigs.cpp b/src/ringct/rctSigs.cpp
index 1efb8c4f4..06b93590a 100644
--- a/src/ringct/rctSigs.cpp
+++ b/src/ringct/rctSigs.cpp
@@ -296,7 +296,7 @@ namespace rct {
key64 CiH;
int i = 0;
for (i = 0; i < ATOMS; i++) {
- sc_0(ai[i].bytes);
+ skGen(ai[i]);
if (b[i] == 0) {
scalarmultBase(sig.Ci[i], ai[i]);
}