diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-05-29 17:56:21 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-05-29 18:04:44 +0200 |
commit | 151009cf76f3f1adc17630d5370bf019be127373 (patch) | |
tree | dfcfadd30b70c30913038be48fccca6b1d5c4e5c /src/qt/sendcoinsdialog.cpp | |
parent | ba48fcf4a40c5b9888459511fb4233a1b89184cc (diff) | |
download | bitcoin-151009cf76f3f1adc17630d5370bf019be127373.tar.xz |
qt, wallet, refactor: Drop unused `WalletModel::PaymentRequestExpired`
Also dead code has been removed.
Diffstat (limited to 'src/qt/sendcoinsdialog.cpp')
-rw-r--r-- | src/qt/sendcoinsdialog.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index fd8eccb86d..d8daccecbd 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -757,10 +757,6 @@ void SendCoinsDialog::processSendCoinsReturn(const WalletModel::SendCoinsReturn case WalletModel::AbsurdFee: msgParams.first = tr("A fee higher than %1 is considered an absurdly high fee.").arg(BitcoinUnits::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), model->wallet().getDefaultMaxTxFee())); break; - case WalletModel::PaymentRequestExpired: - msgParams.first = tr("Payment request expired."); - msgParams.second = CClientUIInterface::MSG_ERROR; - break; // included to prevent a compiler warning. case WalletModel::OK: default: |