aboutsummaryrefslogtreecommitdiff
path: root/src/test/main_tests.cpp
diff options
context:
space:
mode:
authorditto-b <[email protected]>2014-04-02 18:00:08 -0500
committerditto-b <[email protected]>2014-04-02 18:00:08 -0500
commit5cfd3a70a67ba707a8f074a1730724a6e86353b8 (patch)
tree682ca37b58b13d4ff006aa67437d597b5f657201 /src/test/main_tests.cpp
parentFix for GetBlockValue() after block 13,440,000 (diff)
downloaddiscoin-5cfd3a70a67ba707a8f074a1730724a6e86353b8.tar.xz
discoin-5cfd3a70a67ba707a8f074a1730724a6e86353b8.zip
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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/main_tests.cpp b/src/test/main_tests.cpp
index b7f4312cd..d2917bcb3 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;