mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 07:11:29 +02:00
Send: warn on high fee
This commit is contained in:
@@ -72,6 +72,11 @@ TxConfDialog::TxConfDialog(QSharedPointer<AppContext> ctx, PendingTransaction *t
|
||||
ui->label_address->setToolTip("Wallet change/primary address");
|
||||
}
|
||||
|
||||
if (tx->fee() > WalletManager::amountFromDouble(0.01)) {
|
||||
ui->label_fee->setStyleSheet(ColorScheme::RED.asStylesheet(true));
|
||||
ui->label_fee->setToolTip("Unrealistic fee. You may be connected to a malicious node.");
|
||||
}
|
||||
|
||||
ui->buttonBox->button(QDialogButtonBox::Ok)->setText("Send");
|
||||
|
||||
connect(ui->btn_Advanced, &QPushButton::clicked, this, &TxConfDialog::setShowAdvanced);
|
||||
|
||||
Reference in New Issue
Block a user