diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-01 13:57:15 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-01 14:06:49 +0000 |
commit | eda2661aa22402164fbcc4490f6ae09da3558bff (patch) | |
tree | a7419ca2d16269e405da9fda5ae9653a0c2c7046 /src/cryptonote_core | |
parent | Merge pull request #5359 (diff) | |
download | monero-eda2661aa22402164fbcc4490f6ae09da3558bff.tar.xz |
Allow pruning before v10
This check is now not needed anymore, and would prevent people
from using --prune-blockchain when starting a new sync
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r-- | src/cryptonote_core/blockchain.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index f5bd9bbb5..e4a63c77a 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -3767,12 +3767,6 @@ leave: //------------------------------------------------------------------ bool Blockchain::prune_blockchain(uint32_t pruning_seed) { - uint8_t hf_version = m_hardfork->get_current_version(); - if (hf_version < 10) - { - MERROR("Most of the network will only be ready for pruned blockchains from v10, not pruning"); - return false; - } return m_db->prune_blockchain(pruning_seed); } //------------------------------------------------------------------ |