diff options
Diffstat (limited to 'src/ringct/rctSigs.cpp')
-rw-r--r-- | src/ringct/rctSigs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ringct/rctSigs.cpp b/src/ringct/rctSigs.cpp index e98e62903..29743c790 100644 --- a/src/ringct/rctSigs.cpp +++ b/src/ringct/rctSigs.cpp @@ -768,7 +768,7 @@ namespace rct { #endif for (i = 0; i < outamounts.size(); ++i) { - rv.outPk[i].mask = C[i]; + rv.outPk[i].mask = rct::scalarmultKey(C[i], EIGHT); outSk[i].mask = masks[i]; } } @@ -788,7 +788,7 @@ namespace rct { #endif for (i = 0; i < batch_size; ++i) { - rv.outPk[i + amounts_proved].mask = C[i]; + rv.outPk[i + amounts_proved].mask = rct::scalarmultKey(C[i], EIGHT); outSk[i + amounts_proved].mask = masks[i]; } amounts_proved += batch_size; |