Update comments for accuracy

pull/33/head
HenryNguyen5 6 years ago
parent 675b0c24e5
commit 4d99ca6e0e

@ -1698,7 +1698,7 @@ var cnUtil = function(currencyConfig) {
for (let i = 0; i < rows; i++) {
M[i] = [];
M[i][0] = pubs[0][i].dest;
M[i][1] = this.ge_add(M[i][1] || this.identity(), pubs[0][i].mask); // add input commitments
M[i][1] = this.ge_add(M[i][1] || this.identity(), pubs[0][i].mask); // start with input commitment
for (let j = 0; j < outPk.length; j++) {
M[i][1] = this.ge_sub(M[i][1], outPk[j]); // subtract all output commitments
}
@ -1750,7 +1750,8 @@ var cnUtil = function(currencyConfig) {
//mixRing is matrix of pubkey, commit (dest, mask)
//amountKeys is vector of scalars
//indices is vector
//txnFee is string
//txnFee is string, with its endian not swapped (e.g d2s is not called before passing it in as an argument)
//to this function
this.genRct = function(
message,
inSk,

Loading…
Cancel
Save