[test util] use -checkmempool for TestingSetup mempool check ratio

This commit is contained in:
glozow committed 2022-05-30 16:00:41 -07:00
1 parent d7d9c7b266
commit 5374dfc4e3
1 file changed
+1 -1
+1 -1
View File
@@ -161,7 +161,7 @@ ChainTestingSetup::ChainTestingSetup(const std::string& chainName, const std::ve
GetMainSignals().RegisterBackgroundSignalScheduler(*m_node.scheduler);
m_node.fee_estimator = std::make_unique<CBlockPolicyEstimator>();
m_node.mempool = std::make_unique<CTxMemPool>(m_node.fee_estimator.get(), 1);
m_node.mempool = std::make_unique<CTxMemPool>(m_node.fee_estimator.get(), m_node.args->GetIntArg("-checkmempool", 1));
m_cache_sizes = CalculateCacheSizes(m_args);