From 0b77c8f934a58ef5971a3a654e6fd8c91dfbf36c Mon Sep 17 00:00:00 2001 From: sowle Date: Thu, 8 Feb 2024 18:57:22 +0100 Subject: [PATCH] chaingen: minor fix for proper initialization of gen_context --- tests/core_tests/chaingen.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/core_tests/chaingen.cpp b/tests/core_tests/chaingen.cpp index 16e564ef..f03bf1a2 100644 --- a/tests/core_tests/chaingen.cpp +++ b/tests/core_tests/chaingen.cpp @@ -1055,6 +1055,7 @@ bool test_generator::construct_pow_block_with_alias_info_in_coinbase(const accou miner_tx.vout.clear(); tx_generation_context tx_gen_context{}; + tx_gen_context.set_tx_key(tx_key); tx_gen_context.resize(/* ZC ins: */ 0, /* OUTS: */ alias_cost != 0 ? 3 : 2); std::set deriv_cache; finalized_tx fin_tx_stub{};