diff --git a/src/test/miner_tests.cpp b/src/test/miner_tests.cpp --- a/src/test/miner_tests.cpp +++ b/src/test/miner_tests.cpp @@ -711,15 +711,6 @@ // We are working on a fake chain and need to protect ourselves. LOCK(cs_main); - // Activate UAHF the dirty way - const int64_t uahfHeight = - config.GetChainParams().GetConsensus().uahfHeight; - auto pindex = chainActive.Tip(); - for (size_t i = 0; pindex && i < 5; i++) { - pindex->nHeight = uahfHeight + 5 - i; - pindex = pindex->pprev; - } - // Test around historical 1MB (plus one byte because that's mandatory) config.SetMaxBlockSize(ONE_MEGABYTE + 1); CheckBlockMaxSize(chainparams, 0, 1000);