diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-07-18 22:58:59 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-07-18 22:59:02 +0200 |
commit | 5a266769325d4d14e12405fdc763d02c57ec414e (patch) | |
tree | f9b6bc0fdb47d2df41317692ba2f36edc11756c8 /src/cryptonote_core/blockchain.cpp | |
parent | Merge pull request #342 (diff) | |
parent | blockchain: fix testnet syncing (to not use blocks.dat) (diff) | |
download | monero-5a266769325d4d14e12405fdc763d02c57ec414e.tar.xz |
Merge pull request #343
e20a4dd blockchain: fix testnet syncing (to not use blocks.dat) (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core/blockchain.cpp')
-rw-r--r-- | src/cryptonote_core/blockchain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index ffd4e7869..cc2d6f821 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -309,7 +309,7 @@ bool Blockchain::init(BlockchainDB* db, const bool testnet) m_async_pool.create_thread(boost::bind(&boost::asio::io_service::run, &m_async_service)); #if defined(PER_BLOCK_CHECKPOINT) - if (m_fast_sync && get_blocks_dat_start() != nullptr) + if (m_fast_sync && !testnet && get_blocks_dat_start() != nullptr) { if (get_blocks_dat_size() > 4) { |