From adbb7229af25f1c1c045415e25fe4f0a4a2a85d8 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Fri, 24 May 2019 14:11:56 +0000 Subject: [PATCH] blockchain_export: allow exporting blocks.dat format from pruned We don't need any of the pruned data for this --- src/blockchain_utilities/blockchain_export.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blockchain_utilities/blockchain_export.cpp b/src/blockchain_utilities/blockchain_export.cpp index 9b67ddb6b..216f7cfe3 100644 --- a/src/blockchain_utilities/blockchain_export.cpp +++ b/src/blockchain_utilities/blockchain_export.cpp @@ -177,7 +177,7 @@ int main(int argc, char* argv[]) } r = core_storage->init(db, opt_testnet ? cryptonote::TESTNET : opt_stagenet ? cryptonote::STAGENET : cryptonote::MAINNET); - if (core_storage->get_blockchain_pruning_seed()) + if (core_storage->get_blockchain_pruning_seed() && !opt_blocks_dat) { LOG_PRINT_L0("Blockchain is pruned, cannot export"); return 1;