Skip to content

Commit

Permalink
blockchain_export: allow exporting blocks.dat format from pruned
Browse files Browse the repository at this point in the history
We don't need any of the pruned data for this
  • Loading branch information
moneromooo-monero committed May 24, 2019
1 parent 5fbfa8a commit 162c3e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blockchain_utilities/blockchain_export.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 162c3e1

Please sign in to comment.