From 5cfd3a70a67ba707a8f074a1730724a6e86353b8 Mon Sep 17 00:00:00 2001 From: ditto-b Date: Wed, 2 Apr 2014 18:00:08 -0500 Subject: [PATCH] Edit subsidy_limit_test to account for BIP42 Because no one wants 4 gold mines being discovered every mibillenium. --- src/test/main_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;