aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities/blockchain_export.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-05-24 14:11:56 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-05-24 14:12:45 +0000
commit162c3e18ecfe668218b12cf3a8be7cba334c1fd1 (patch)
tree92594994d1f8bad4e1bbed1817e49f9fd8b69610 /src/blockchain_utilities/blockchain_export.cpp
parentMerge pull request #5548 (diff)
downloadmonero-162c3e18ecfe668218b12cf3a8be7cba334c1fd1.tar.xz
blockchain_export: allow exporting blocks.dat format from pruned
We don't need any of the pruned data for this
Diffstat (limited to 'src/blockchain_utilities/blockchain_export.cpp')
-rw-r--r--src/blockchain_utilities/blockchain_export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_utilities/blockchain_export.cpp b/src/blockchain_utilities/blockchain_export.cpp
index fa1243c1f..85566efca 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;