aboutsummaryrefslogtreecommitdiff
path: root/tests/core_tests/rct2.cpp
diff options
context:
space:
mode:
authortobtoht <tob@featherwallet.org>2026-04-27 20:29:51 +0000
committertobtoht <tob@featherwallet.org>2026-04-27 20:29:51 +0000
commit64b19b4b9a0004b0e7f8466d77c6597878778ebc (patch)
tree6176ab363e39be5c59657c9cb513b4f9f243203b /tests/core_tests/rct2.cpp
parenta445708e728b729544a7de60157e8bad43e9f1da (diff)
parent44412d3574fcd7bdb6d0fcfb6c4ffc61c2d338d9 (diff)
downloadmonzero-core-64b19b4b9a0004b0e7f8466d77c6597878778ebc.tar.gz
monzero-core-64b19b4b9a0004b0e7f8466d77c6597878778ebc.tar.xz
monzero-core-64b19b4b9a0004b0e7f8466d77c6597878778ebc.zip
Merge pull request #10431
44412d3 cryptonote_core: add change address sanity check (jeffro256)
Diffstat (limited to 'tests/core_tests/rct2.cpp')
-rw-r--r--tests/core_tests/rct2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core_tests/rct2.cpp b/tests/core_tests/rct2.cpp
index 971f321a5..696e6a2b7 100644
--- a/tests/core_tests/rct2.cpp
+++ b/tests/core_tests/rct2.cpp
@@ -136,7 +136,7 @@ bool gen_rct2_tx_validation_base::generate_with(std::vector<test_event_entry>& e
std::unordered_map<crypto::public_key, cryptonote::subaddress_index> subaddresses;
subaddresses[miner_accounts[n].get_keys().m_account_address.m_spend_public_key] = {0,0};
rct_txes.resize(rct_txes.size() + 1);
- bool r = construct_tx_and_get_tx_key(miner_accounts[n].get_keys(), subaddresses, sources, destinations, cryptonote::account_public_address{}, std::vector<uint8_t>(), rct_txes.back(), tx_key, additional_tx_keys, true, rct_config[n]);
+ bool r = construct_tx_and_get_tx_key(miner_accounts[n].get_keys(), subaddresses, sources, destinations, boost::none, std::vector<uint8_t>(), rct_txes.back(), tx_key, additional_tx_keys, true, rct_config[n]);
CHECK_AND_ASSERT_MES(r, false, "failed to construct transaction");
if (post_tx && !post_tx(rct_txes.back(), n))