Preserve commitment format inside transactions

This commit is contained in:
Luke Parker 2022-04-21 18:58:47 -04:00
parent 9f814edbd7
commit baee2c06ec
No known key found for this signature in database
GPG key ID: F9F1386DB1E119B6
5 changed files with 6 additions and 30 deletions

View file

@ -190,7 +190,7 @@ namespace cryptonote
CHECK_AND_ASSERT_MES(n_amounts == rv.outPk.size(), false, "Internal error filling out V");
rv.p.bulletproofs_plus[0].V.resize(n_amounts);
for (size_t i = 0; i < n_amounts; ++i)
rv.p.bulletproofs_plus[0].V[i] = rv.outPk[i].mask;
rv.p.bulletproofs_plus[0].V[i] = rct::scalarmultKey(rv.outPk[i].mask, rct::INV_EIGHT);
}
else if (bulletproof)
{