From eda2661aa22402164fbcc4490f6ae09da3558bff Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Mon, 1 Apr 2019 13:57:15 +0000 Subject: Allow pruning before v10 This check is now not needed anymore, and would prevent people from using --prune-blockchain when starting a new sync --- src/cryptonote_core/blockchain.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/cryptonote_core/blockchain.cpp') 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); } //------------------------------------------------------------------ -- cgit v1.2.3