mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 09:08:53 +00:00
Merge pull request #5574
162c3e1
blockchain_export: allow exporting blocks.dat format from pruned (moneromooo-monero)
This commit is contained in:
commit
f1427568dc
@ -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);
|
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");
|
LOG_PRINT_L0("Blockchain is pruned, cannot export");
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user