diff options
author | MacroFake <falke.marco@gmail.com> | 2022-07-26 11:40:39 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-10-04 12:40:19 +0200 |
commit | fa9436e90859c31d9aa7bc0b7f223ab93ec14bdc (patch) | |
tree | 84059ad813d340460176ef24cf5225285b5ece52 /src/test/miner_tests.cpp | |
parent | 914c00074b62b911e16103254279beb5e3255429 (diff) |
test: Remove unused fCheckpointsEnabled from miner_tests
The earliest checkpoint is at height 11111, so this can't possibly have
any impact on this test.
Diffstat (limited to 'src/test/miner_tests.cpp')
-rw-r--r-- | src/test/miner_tests.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/miner_tests.cpp b/src/test/miner_tests.cpp index 9f5fb17b60..c7ce998f2d 100644 --- a/src/test/miner_tests.cpp +++ b/src/test/miner_tests.cpp @@ -558,8 +558,6 @@ BOOST_AUTO_TEST_CASE(CreateNewBlock_validity) CScript scriptPubKey = CScript() << ParseHex("04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5f") << OP_CHECKSIG; std::unique_ptr<CBlockTemplate> pblocktemplate; - fCheckpointsEnabled = false; - // Simple block creation, nothing special yet: BOOST_CHECK(pblocktemplate = AssemblerForTest(chainparams).CreateNewBlock(scriptPubKey)); @@ -608,8 +606,6 @@ BOOST_AUTO_TEST_CASE(CreateNewBlock_validity) m_node.mempool->clear(); TestPrioritisedMining(chainparams, scriptPubKey, txFirst); - - fCheckpointsEnabled = true; } BOOST_AUTO_TEST_SUITE_END() |