diff options
author | warptangent <warptangent@tutanota.com> | 2016-02-04 20:09:51 -0800 |
---|---|---|
committer | warptangent <warptangent@tutanota.com> | 2016-02-08 08:50:48 -0800 |
commit | f7e337e6254c1c4115a8430964a6f6b54305b3ae (patch) | |
tree | f0a0d062d0d3ff6912e90622e12309fbee2b2be9 /src/blockchain_utilities | |
parent | blockchain_import: Add --drop-hard-fork command (diff) | |
download | monero-f7e337e6254c1c4115a8430964a6f6b54305b3ae.tar.xz |
fake_core: Check if hard fork subdbs need reset at start
Diffstat (limited to 'src/blockchain_utilities')
-rw-r--r-- | src/blockchain_utilities/fake_core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/blockchain_utilities/fake_core.h b/src/blockchain_utilities/fake_core.h index 245d535fc..4b8c28902 100644 --- a/src/blockchain_utilities/fake_core.h +++ b/src/blockchain_utilities/fake_core.h @@ -75,7 +75,10 @@ struct fake_core_lmdb throw; } + db->check_hard_fork_info(); + m_storage.init(db, use_testnet); + if (do_batch) m_storage.get_db().set_batch_transactions(do_batch); support_batch = true; |