Changeset View
Changeset View
Standalone View
Standalone View
src/qt/sendcoinsdialog.cpp
Show First 20 Lines • Show All 600 Lines • ▼ Show 20 Lines | switch (sendCoinsReturn.status) { | ||||
.arg(sendCoinsReturn.reasonCommitFailed); | .arg(sendCoinsReturn.reasonCommitFailed); | ||||
msgParams.second = CClientUIInterface::MSG_ERROR; | msgParams.second = CClientUIInterface::MSG_ERROR; | ||||
break; | break; | ||||
case WalletModel::AbsurdFee: | case WalletModel::AbsurdFee: | ||||
msgParams.first = | msgParams.first = | ||||
tr("A fee higher than %1 is considered an absurdly high fee.") | tr("A fee higher than %1 is considered an absurdly high fee.") | ||||
.arg(BitcoinUnits::formatWithUnit( | .arg(BitcoinUnits::formatWithUnit( | ||||
model->getOptionsModel()->getDisplayUnit(), | model->getOptionsModel()->getDisplayUnit(), | ||||
GetConfig().GetMaxFee())); | GetConfig().GetMaxFeePerKB())); | ||||
break; | break; | ||||
case WalletModel::PaymentRequestExpired: | case WalletModel::PaymentRequestExpired: | ||||
msgParams.first = tr("Payment request expired."); | msgParams.first = tr("Payment request expired."); | ||||
msgParams.second = CClientUIInterface::MSG_ERROR; | msgParams.second = CClientUIInterface::MSG_ERROR; | ||||
break; | break; | ||||
// included to prevent a compiler warning. | // included to prevent a compiler warning. | ||||
case WalletModel::OK: | case WalletModel::OK: | ||||
default: | default: | ||||
▲ Show 20 Lines • Show All 387 Lines • Show Last 20 Lines |