forked from lthn/blockchain
functional tests: compilation fixed
This commit is contained in:
parent
e5bdd70a51
commit
abe696b2f4
1 changed files with 3 additions and 1 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue