diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-12-31 14:24:06 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-12-31 14:24:06 +0000 |
| commit | 40f97ce83da9199acfc7dc9105712888a7af099c (patch) | |
| tree | 40a81490a551cef0b43ed68f8e61edc86268ee3f /src/cryptonote_core/cryptonote_core.cpp | |
| parent | ac7d27d4f94ddcaacd9eef563f8ff6d3e90fa12f (diff) | |
| download | monzero-core-40f97ce83da9199acfc7dc9105712888a7af099c.tar.gz monzero-core-40f97ce83da9199acfc7dc9105712888a7af099c.tar.xz monzero-core-40f97ce83da9199acfc7dc9105712888a7af099c.zip | |
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.
Diffstat (limited to 'src/cryptonote_core/cryptonote_core.cpp')
| -rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
