aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-05-10 16:49:13 -0500
committerluigi1111 <luigi1111w@gmail.com>2022-05-10 16:49:13 -0500
commit436ca13722f00bb0ed3c3160396952471e4c4ab4 (patch)
treeb6b07b8996316178286a7616458069a68fced214 /src/cryptonote_basic
parent156151396e12043fd3ee0307a4c46522bb515ca0 (diff)
parentbaee2c06ec6178ceb7f3dfd85585eeb2bd65366c (diff)
downloadmonzero-core-436ca13722f00bb0ed3c3160396952471e4c4ab4.tar.gz
monzero-core-436ca13722f00bb0ed3c3160396952471e4c4ab4.tar.xz
monzero-core-436ca13722f00bb0ed3c3160396952471e4c4ab4.zip
Merge pull request #8277
baee2c0 Preserve commitment format inside transactions (kayabaNerve)
Diffstat (limited to 'src/cryptonote_basic')
-rw-r--r--src/cryptonote_basic/cryptonote_format_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_basic/cryptonote_format_utils.cpp b/src/cryptonote_basic/cryptonote_format_utils.cpp
index 432617a4f..f101f10c5 100644
--- a/src/cryptonote_basic/cryptonote_format_utils.cpp
+++ b/src/cryptonote_basic/cryptonote_format_utils.cpp
@@ -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)
{