1
0
Fork 0
forked from lthn/blockchain

chaingen: minor fix for proper initialization of gen_context

This commit is contained in:
sowle 2024-02-08 18:57:22 +01:00
parent 5f53c8fbe1
commit 0b77c8f934
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -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<unsigned short> deriv_cache;
finalized_tx fin_tx_stub{};