GUI: Options: Remove the upper-bound limit from pruning size setting
Hypothetically, someone may wish to begin pruning at a future blockchain size, and there's no reason to limit it lower
This commit is contained in:
parent
4ddeb2f860
commit
8a33f4d63f
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ void OptionsDialog::setModel(OptionsModel *_model)
|
||||||
|
|
||||||
// Prune values are in GB to be consistent with intro.cpp
|
// Prune values are in GB to be consistent with intro.cpp
|
||||||
static constexpr uint64_t nMinDiskSpace = (MIN_DISK_SPACE_FOR_BLOCK_FILES / GB_BYTES) + (MIN_DISK_SPACE_FOR_BLOCK_FILES % GB_BYTES) ? 1 : 0;
|
static constexpr uint64_t nMinDiskSpace = (MIN_DISK_SPACE_FOR_BLOCK_FILES / GB_BYTES) + (MIN_DISK_SPACE_FOR_BLOCK_FILES % GB_BYTES) ? 1 : 0;
|
||||||
ui->pruneSize->setRange(nMinDiskSpace, _model->node().getAssumedBlockchainSize());
|
ui->pruneSize->setRange(nMinDiskSpace, std::numeric_limits<int>::max());
|
||||||
|
|
||||||
QString strLabel = _model->getOverriddenByCommandLine();
|
QString strLabel = _model->getOverriddenByCommandLine();
|
||||||
if (strLabel.isEmpty())
|
if (strLabel.isEmpty())
|
||||||
|
|
Loading…
Reference in a new issue