Update tests for new genesis blocks

This commit is contained in:
Jack Grigg
2016-10-22 00:31:38 -05:00
parent 8c54e34a68
commit 86d2c90468
2 changed files with 112 additions and 112 deletions

View File

@@ -37,8 +37,8 @@ BOOST_AUTO_TEST_CASE(get_next_work_pow_limit)
int64_t nThisTime = 1233061996; // Block #2015 of Bitcoin
arith_uint256 bnAvg;
// TODO change once the harder genesis block is generated
bnAvg.SetCompact(0x200f0f0f);
BOOST_CHECK_EQUAL(0x200f0f0f,
bnAvg.SetCompact(0x2003ffff);
BOOST_CHECK_EQUAL(0x2003ffff,
CalculateNextWorkRequired(bnAvg, nThisTime, nLastRetargetTime, params));
}