aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-02-08 18:28:37 +0200
committerRiccardo Spagni <ric@spagni.net>2016-02-08 18:28:37 +0200
commitf6dcefd80f9080d0b1ef1ee05f60be9add258ca4 (patch)
treea395b4e225b115ab40fedc59f18d7d0c5c61dc28 /tests
parentMerge pull request #636 (diff)
parenttests: fix compilation failure after V1 define rename (diff)
downloadmonero-f6dcefd80f9080d0b1ef1ee05f60be9add258ca4.tar.xz
Merge pull request #638
6827061 tests: fix compilation failure after V1 define rename (moneromooo-monero)
Diffstat (limited to 'tests')
-rw-r--r--tests/core_tests/block_validation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core_tests/block_validation.cpp b/tests/core_tests/block_validation.cpp
index d6c4078f3..bce0980bf 100644
--- a/tests/core_tests/block_validation.cpp
+++ b/tests/core_tests/block_validation.cpp
@@ -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
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 portion = amount / tx_out_count;
uint64_t remainder = amount % tx_out_count;