From 3f97b2c70accc604bf45d73f0d623d4d383b5505 Mon Sep 17 00:00:00 2001 From: Anthony Fieroni Date: Wed, 17 Jul 2019 11:03:49 +0300 Subject: [PATCH] Fix consensus Signed-off-by: Anthony Fieroni --- src/test/claimtriebranching_tests.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/claimtriebranching_tests.cpp b/src/test/claimtriebranching_tests.cpp index b391b3c24..d3ceb7f26 100644 --- a/src/test/claimtriebranching_tests.cpp +++ b/src/test/claimtriebranching_tests.cpp @@ -1723,7 +1723,8 @@ BOOST_AUTO_TEST_CASE(normalization_does_not_kill_sort_order) BOOST_AUTO_TEST_CASE(normalization_does_not_kill_expirations) { ClaimTrieChainFixture fixture; - fixture.setExpirationForkHeight(800, 3, 800); + auto& consensus = Params().GetConsensus(); + fixture.setExpirationForkHeight(consensus.nExtendedClaimExpirationForkHeight, 3, consensus.nExtendedClaimExpirationTime); fixture.setNormalizationForkHeight(4); // need to see that claims expiring on the frame when we normalize aren't kept // need to see that supports expiring on the frame when we normalize aren't kept