get UPGRADE_TESTDUMMY back to default at the end of the test

This commit is contained in:
Alfredo Garcia 2019-11-07 14:28:14 -03:00
parent 8649f65608
commit 8aac988a82
1 changed files with 2 additions and 0 deletions

View File

@ -131,4 +131,6 @@ TEST(Metrics, NextUpgrade) {
EXPECT_EQ(DisplayDuration(SecondsLeftToNextEpoch(paramsBlossom, 1).value(), DurationFormat::REDUCED), "2 hours");
EXPECT_EQ(DisplayDuration(SecondsLeftToNextEpoch(paramsBlossom, 1).value(), DurationFormat::FULL), "2 hours, 3 minutes, 45 seconds");
RegtestDeactivateBlossom();
UpdateNetworkUpgradeParameters(Consensus::UPGRADE_TESTDUMMY, Consensus::NetworkUpgrade::NO_ACTIVATION_HEIGHT);
}