add a comment about nProportionalDelayFactor for a test on claimtriebranching_tests.cpp

Signed-off-by: kay kurokawa <kay@lbry.io>
This commit is contained in:
kay kurokawa 2018-07-08 14:35:41 -04:00
parent 48d51418ef
commit aed3b9b148

View file

@ -374,7 +374,8 @@ BOOST_AUTO_TEST_CASE(claimtriebranching_claim)
BOOST_CHECK(is_best_claim("test",tx4));
fixture.DecrementBlocks(1);
// check claim takeover
// check claim takeover, note that CClaimTrie.nProportionalDelayFactor is set to 1
// instead of 32 in test_bitcoin.cpp
CMutableTransaction tx6 = fixture.MakeClaim(fixture.GetCoinbase(),"test","one",1);
fixture.IncrementBlocks(10);
BOOST_CHECK(is_best_claim("test",tx6));