From ecabd4a73a09fe91ed27a12e9c112ac20325192a Mon Sep 17 00:00:00 2001 From: sowle Date: Mon, 9 Jun 2025 11:51:08 +0200 Subject: [PATCH] functional tests: core_concurrency_test.cpp compilation fix --- tests/functional_tests/core_concurrency_test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/functional_tests/core_concurrency_test.cpp b/tests/functional_tests/core_concurrency_test.cpp index 1a421168..ad046999 100644 --- a/tests/functional_tests/core_concurrency_test.cpp +++ b/tests/functional_tests/core_concurrency_test.cpp @@ -134,9 +134,9 @@ bool generate_events(currency::core& c, cct_events_t& events, const cct_wallets_ if (it->type() == typeid(currency::transaction)) { const transaction& tx = boost::get(*it); - uint64_t max_used_block_height = 0; - r = bcs.check_tx_inputs(tx, get_transaction_hash(tx), max_used_block_height); - if (r && max_used_block_height <= prev_block.height) + blockchain_storage::check_tx_inputs_context ctic{}; + r = bcs.check_tx_inputs(tx, get_transaction_hash(tx), ctic); + if (r && ctic.max_used_block_height <= prev_block.height) txs.push_back(&tx); // filter out tx that are using too recent outputs -- yep, some txs will be dropped forever } else if (it->type() == typeid(currency::block))