Skip to content

Commit 8d89350

Browse files
authored
Use less alarming fee warning note (#3038)
1 parent 02f6188 commit 8d89350

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/qt/forms/sendcoinsdialog.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@
771771
</font>
772772
</property>
773773
<property name="text">
774-
<string>Warning: Fee estimation is currently not possible.</string>
774+
<string>Note: Not enough data for fee estimation, using the fallback fee instead.</string>
775775
</property>
776776
<property name="wordWrap">
777777
<bool>false</bool>

src/qt/sendcoinsdialog.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -750,9 +750,6 @@ void SendCoinsDialog::updateSmartFeeLabel()
750750
ui->labelSmartFee2->show(); // (Smart fee not initialized yet. This usually takes a few blocks...)
751751
ui->labelFeeEstimation->setText("");
752752
ui->fallbackFeeWarningLabel->setVisible(true);
753-
int lightness = ui->fallbackFeeWarningLabel->palette().color(QPalette::WindowText).lightness();
754-
QColor warning_colour(255 - (lightness / 5), 176 - (lightness / 3), 48 - (lightness / 14));
755-
ui->fallbackFeeWarningLabel->setStyleSheet("QLabel { color: " + warning_colour.name() + "; }");
756753
ui->fallbackFeeWarningLabel->setIndent(QFontMetrics(ui->fallbackFeeWarningLabel->font()).width("x"));
757754
}
758755
else

0 commit comments

Comments
 (0)