diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-01-17 21:50:03 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-09-11 13:37:28 +0000 |
commit | 9ce9f8caf6e290088711ce4d5d90c1507a837bf2 (patch) | |
tree | 00ec50f673c5a114352d5f95fcd81938df4dd5ab /tests/unit_tests/json_serialization.cpp | |
parent | performance_tests: add tx checking tests with more than 2 outputs (diff) | |
download | monero-9ce9f8caf6e290088711ce4d5d90c1507a837bf2.tar.xz |
bulletproofs: add multi output bulletproofs to rct
Diffstat (limited to 'tests/unit_tests/json_serialization.cpp')
-rw-r--r-- | tests/unit_tests/json_serialization.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/json_serialization.cpp b/tests/unit_tests/json_serialization.cpp index ac6b60846..234cb2c33 100644 --- a/tests/unit_tests/json_serialization.cpp +++ b/tests/unit_tests/json_serialization.cpp @@ -75,7 +75,7 @@ namespace std::unordered_map<crypto::public_key, cryptonote::subaddress_index> subaddresses; subaddresses[from.m_account_address.m_spend_public_key] = {0,0}; - if (!cryptonote::construct_tx_and_get_tx_key(from, subaddresses, actual_sources, to, boost::none, {}, tx, 0, tx_key, extra_keys, rct, bulletproof)) + if (!cryptonote::construct_tx_and_get_tx_key(from, subaddresses, actual_sources, to, boost::none, {}, tx, 0, tx_key, extra_keys, rct, bulletproof ? rct::RangeProofBulletproof : rct::RangeProofBorromean)) throw std::runtime_error{"transaction construction error"}; return tx; |