mirror of
https://github.com/feather-wallet/feather.git
synced 2025-03-12 09:37:47 +00:00
Send: warn on high fee
This commit is contained in:
parent
04598c9e55
commit
3b3fcfc42c
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue