blockchain_export: allow exporting blocks.dat format from pruned

We don't need any of the pruned data for this
release-v0.6.1.2^2
moneromooo-monero 5 years ago committed by wowario
parent e49f7450d2
commit adbb7229af
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -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;

Loading…
Cancel
Save