mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-22 23:42:24 +00:00
tests: fix compilation failure after V1 define rename
This commit is contained in:
parent
5feebb4d87
commit
6827061d5f
1 changed files with 1 additions and 1 deletions
|
@ -505,7 +505,7 @@ bool gen_block_is_too_big::generate(std::vector<test_event_entry>& events) const
|
||||||
|
|
||||||
// Creating a huge miner_tx, it will have a lot of outs
|
// Creating a huge miner_tx, it will have a lot of outs
|
||||||
MAKE_MINER_TX_MANUALLY(miner_tx, blk_0);
|
MAKE_MINER_TX_MANUALLY(miner_tx, blk_0);
|
||||||
static const size_t tx_out_count = CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE / 2;
|
static const size_t tx_out_count = CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V1 / 2;
|
||||||
uint64_t amount = get_outs_money_amount(miner_tx);
|
uint64_t amount = get_outs_money_amount(miner_tx);
|
||||||
uint64_t portion = amount / tx_out_count;
|
uint64_t portion = amount / tx_out_count;
|
||||||
uint64_t remainder = amount % tx_out_count;
|
uint64_t remainder = amount % tx_out_count;
|
||||||
|
|
Loading…
Reference in a new issue