Update tests for new genesis blocks

Miner tests have been commented out, and will be regenerated after launch.
This commit is contained in:
Jack Grigg
2016-10-28 02:56:15 -07:00
parent 30ed379109
commit 657bde55ef
2 changed files with 6 additions and 4 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(0x2007ffff);
BOOST_CHECK_EQUAL(0x2007ffff,
bnAvg.SetCompact(0x1f07ffff);
BOOST_CHECK_EQUAL(0x1f07ffff,
CalculateNextWorkRequired(bnAvg, nThisTime, nLastRetargetTime, params));
}