Merge pull request #5378

eda2661a Allow pruning before v10 (moneromooo-monero)
This commit is contained in:
Riccardo Spagni
2019-04-11 13:02:35 +02:00
3 changed files with 1 additions and 25 deletions

View File

@@ -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);
}
//------------------------------------------------------------------