aboutsummaryrefslogtreecommitdiff
path: root/tests
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 /tests
parentMerge pull request #8262 (diff)
parentPreserve commitment format inside transactions (diff)
downloadmonero-436ca13722f00bb0ed3c3160396952471e4c4ab4.tar.xz
Merge pull request #8277
baee2c0 Preserve commitment format inside transactions (kayabaNerve)
Diffstat (limited to 'tests')
-rw-r--r--tests/core_tests/multisig.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/core_tests/multisig.cpp b/tests/core_tests/multisig.cpp
index 58d60fd90..3db3d4059 100644
--- a/tests/core_tests/multisig.cpp
+++ b/tests/core_tests/multisig.cpp
@@ -446,8 +446,6 @@ bool gen_multisig_tx_validation_base::generate_with(std::vector<test_event_entry
rct::ecdhTuple ecdh_info = tx.rct_signatures.ecdhInfo[n];
rct::ecdhDecode(ecdh_info, rct::sk2rct(scalar1), tx.rct_signatures.type == rct::RCTTypeBulletproof2 || tx.rct_signatures.type == rct::RCTTypeCLSAG || tx.rct_signatures.type == rct::RCTTypeBulletproofPlus);
rct::key C = tx.rct_signatures.outPk[n].mask;
- if (rct::is_rct_bulletproof_plus(tx.rct_signatures.type))
- C = rct::scalarmult8(C);
rct::addKeys2(Ctmp, ecdh_info.mask, ecdh_info.amount, rct::H);
CHECK_AND_ASSERT_MES(rct::equalKeys(C, Ctmp), false, "Failed to decode amount");
amount += rct::h2d(ecdh_info.amount);