[Qt] Show more significant warning if we fall back to the default fee

This commit is contained in:
Jonas Schnelli
2017-01-06 10:42:27 +01:00
parent f646275b90
commit c5adf8f267
2 changed files with 22 additions and 0 deletions

View File

@@ -655,6 +655,7 @@ void SendCoinsDialog::updateSmartFeeLabel()
std::max(CWallet::fallbackFee.GetFeePerK(), CWallet::GetRequiredFee(1000))) + "/kB");
ui->labelSmartFee2->show(); // (Smart fee not initialized yet. This usually takes a few blocks...)
ui->labelFeeEstimation->setText("");
ui->fallbackFeeWarningLabel->setVisible(true);
}
else
{
@@ -662,6 +663,7 @@ void SendCoinsDialog::updateSmartFeeLabel()
std::max(feeRate.GetFeePerK(), CWallet::GetRequiredFee(1000))) + "/kB");
ui->labelSmartFee2->hide();
ui->labelFeeEstimation->setText(tr("Estimated to begin confirmation within %n block(s).", "", estimateFoundAtBlocks));
ui->fallbackFeeWarningLabel->setVisible(false);
}
updateFeeMinimizedLabel();