diff options
author | glozow <gloriajzhao@gmail.com> | 2022-04-20 14:27:42 -0700 |
---|---|---|
committer | glozow <gloriajzhao@gmail.com> | 2022-05-30 16:00:41 -0700 |
commit | 5374dfc4e3da0e6a76f33b42966b4acf446233dc (patch) | |
tree | 49bcc47ff0b73d2600ead62528a99b2e6f0c515e /src | |
parent | d7d9c7b2661d7f4292bfcdc389a806028fa2207d (diff) |
[test util] use -checkmempool for TestingSetup mempool check ratio
Diffstat (limited to 'src')
-rw-r--r-- | src/test/util/setup_common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/util/setup_common.cpp b/src/test/util/setup_common.cpp index ba6525ef28..76bdf37cd7 100644 --- a/src/test/util/setup_common.cpp +++ b/src/test/util/setup_common.cpp @@ -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); |