diff options
author | ditto-b <ditto-b@users.noreply.github.com> | 2014-04-02 18:00:08 -0500 |
---|---|---|
committer | ditto-b <ditto-b@users.noreply.github.com> | 2014-04-02 18:00:08 -0500 |
commit | 5cfd3a70a67ba707a8f074a1730724a6e86353b8 (patch) | |
tree | 682ca37b58b13d4ff006aa67437d597b5f657201 /src/test/main_tests.cpp | |
parent | c5a9d2ca9e3234db9687c8cbec4b5b93ec161190 (diff) |
Edit subsidy_limit_test to account for BIP42
Because no one wants 4 gold mines being discovered every mibillenium.
Diffstat (limited to 'src/test/main_tests.cpp')
-rw-r--r-- | src/test/main_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/main_tests.cpp b/src/test/main_tests.cpp index b7f4312cda..d2917bcb36 100644 --- a/src/test/main_tests.cpp +++ b/src/test/main_tests.cpp @@ -8,7 +8,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; |