From 40f97ce83da9199acfc7dc9105712888a7af099c Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Thu, 31 Dec 2015 14:24:06 +0000 Subject: core: do not use the persistent pool state for tests Fixes intermittent test failures when the pool contains unexpected transactions that were brought in from the live pool. --- src/cryptonote_core/cryptonote_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cryptonote_core/cryptonote_core.cpp') diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index 2fa339c31..2934659f1 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -222,7 +222,7 @@ namespace cryptonote { bool r = handle_command_line(vm); - r = m_mempool.init(m_config_folder); + r = m_mempool.init(m_fakechain ? std::string() : m_config_folder); CHECK_AND_ASSERT_MES(r, false, "Failed to initialize memory pool"); #if BLOCKCHAIN_DB == DB_LMDB -- cgit v1.2.3