aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-04-11 13:02:35 +0200
committerRiccardo Spagni <ric@spagni.net>2019-04-11 13:02:35 +0200
commitbd429033df283563106a0d57d3ec0f0d26f5abc5 (patch)
tree9ebceed35cc580c490e954952ed11508c2a7b1f9 /src/cryptonote_core
parentMerge pull request #5376 (diff)
parentAllow pruning before v10 (diff)
downloadmonero-bd429033df283563106a0d57d3ec0f0d26f5abc5.tar.xz
Merge pull request #5378
eda2661a Allow pruning before v10 (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r--src/cryptonote_core/blockchain.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp
index 393bf4340..08f077f07 100644
--- a/src/cryptonote_core/blockchain.cpp
+++ b/src/cryptonote_core/blockchain.cpp
@@ -3819,12 +3819,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);
}
//------------------------------------------------------------------