mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
blockchain_export: allow exporting blocks.dat format from pruned
We don't need any of the pruned data for this
This commit is contained in:
parent
5fbfa8a656
commit
162c3e18ec
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue