Update tests for new genesis blocks

This commit is contained in:
Jack Grigg
2016-10-27 00:10:04 -07:00
parent 2360dd6449
commit ab32254909
2 changed files with 112 additions and 112 deletions

View File

@@ -36,8 +36,8 @@ BOOST_AUTO_TEST_CASE(get_next_work_pow_limit)
int64_t nLastRetargetTime = 1231006505; // Block #0 of Bitcoin
int64_t nThisTime = 1233061996; // Block #2015 of Bitcoin
arith_uint256 bnAvg;
bnAvg.SetCompact(0x2003ffff);
BOOST_CHECK_EQUAL(0x2003ffff,
bnAvg.SetCompact(0x2007ffff);
BOOST_CHECK_EQUAL(0x2007ffff,
CalculateNextWorkRequired(bnAvg, nThisTime, nLastRetargetTime, params));
}