forked from lthn/blockchain
chaingen: minor fix for proper initialization of gen_context
This commit is contained in:
parent
5f53c8fbe1
commit
0b77c8f934
1 changed files with 1 additions and 0 deletions
|
|
@ -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{};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue