aboutsummaryrefslogtreecommitdiff
path: root/src/test/main_tests.cpp
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2014-04-02 21:31:17 -0400
committerGavin Andresen <[email protected]>2014-04-02 21:31:17 -0400
commit8556b0298d6b7101b063862fb4ab6b4a67dd2361 (patch)
treeef7d39b0c429113b6eb18d78f2b1fa742208daad /src/test/main_tests.cpp
parentMerge pull request #3931 (diff)
parentEdit subsidy_limit_test to account for BIP42 (diff)
downloaddiscoin-8556b0298d6b7101b063862fb4ab6b4a67dd2361.tar.xz
discoin-8556b0298d6b7101b063862fb4ab6b4a67dd2361.zip
Merge pull request #3842 from ditto-b/master
Fix for GetBlockValue() after block 13,440,000
Diffstat (limited to 'src/test/main_tests.cpp')
-rw-r--r--src/test/main_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/main_tests.cpp b/src/test/main_tests.cpp
index 3f8ad2002..8863ba400 100644
--- a/src/test/main_tests.cpp
+++ b/src/test/main_tests.cpp
@@ -12,7 +12,7 @@ BOOST_AUTO_TEST_SUITE(main_tests)
BOOST_AUTO_TEST_CASE(subsidy_limit_test)
{
uint64_t nSum = 0;
- for (int nHeight = 0; nHeight < 7000000; nHeight += 1000) {
+ for (int nHeight = 0; nHeight < 14000000; nHeight += 1000) {
uint64_t nSubsidy = GetBlockValue(nHeight, 0);
BOOST_CHECK(nSubsidy <= 50 * COIN);
nSum += nSubsidy * 1000;