From abe696b2f4fa2e2663ec54f42541dedec6842b23 Mon Sep 17 00:00:00 2001 From: sowle Date: Thu, 13 Jul 2023 01:00:17 +0200 Subject: [PATCH] functional tests: compilation fixed --- tests/functional_tests/core_concurrency_test.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/functional_tests/core_concurrency_test.cpp b/tests/functional_tests/core_concurrency_test.cpp index 06224d93..0173f093 100644 --- a/tests/functional_tests/core_concurrency_test.cpp +++ b/tests/functional_tests/core_concurrency_test.cpp @@ -64,7 +64,8 @@ bool create_block_template_manually(const currency::block& prev_block, boost::mu // make things really simple by assuming block size is less than CURRENCY_BLOCK_GRANTED_FULL_REWARD_ZONE size_t median_size = 0; - + uint64_t block_reward_without_fee = 0; + bool r = construct_miner_tx(get_block_height(prev_block) + 1, median_size, already_generated_coins, @@ -73,6 +74,7 @@ bool create_block_template_manually(const currency::block& prev_block, boost::mu miner_addr, miner_addr, result.miner_tx, + block_reward_without_fee, TRANSACTION_VERSION_PRE_HF4); CHECK_AND_ASSERT_MES(r, false, "construct_miner_tx failed");