mirror of
https://github.com/monero-project/monero.git
synced 2025-05-03 13:44:52 -04:00
Preserve commitment format inside transactions
This commit is contained in:
parent
9f814edbd7
commit
baee2c06ec
5 changed files with 6 additions and 30 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue