diff options
| author | Hennadii Stepanov <[email protected]> | 2019-11-12 12:03:29 +0200 |
|---|---|---|
| committer | Hennadii Stepanov <[email protected]> | 2019-12-08 12:07:01 +0200 |
| commit | a82bd8fa5708c16d1db3edc4e82d70788eb5af19 (patch) | |
| tree | c5a625ff26c3418eaa2ea9f3010861efac1951ac /src/qt/intro.cpp | |
| parent | Merge #17671: script: fixed wget call in gitian-build.py (diff) | |
| download | discoin-a82bd8fa5708c16d1db3edc4e82d70788eb5af19.tar.xz discoin-a82bd8fa5708c16d1db3edc4e82d70788eb5af19.zip | |
util: Replace magics with DEFAULT_PRUNE_TARGET_GB
This commit does not change behavior.
Diffstat (limited to 'src/qt/intro.cpp')
| -rw-r--r-- | src/qt/intro.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/intro.cpp b/src/qt/intro.cpp index 53c80639b..34b43c263 100644 --- a/src/qt/intro.cpp +++ b/src/qt/intro.cpp @@ -135,7 +135,7 @@ Intro::Intro(QWidget *parent, uint64_t blockchain_size, uint64_t chain_state_siz ui->prune->setChecked(true); ui->prune->setEnabled(false); } - ui->prune->setText(tr("Discard blocks after verification, except most recent %1 GB (prune)").arg(pruneTarget ? pruneTarget / 1000 : 2)); + ui->prune->setText(tr("Discard blocks after verification, except most recent %1 GB (prune)").arg(pruneTarget ? pruneTarget / 1000 : DEFAULT_PRUNE_TARGET_GB)); requiredSpace = m_blockchain_size; QString storageRequiresMsg = tr("At least %1 GB of data will be stored in this directory, and it will grow over time."); if (pruneTarget) { |