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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user