Changeset View
Changeset View
Standalone View
Standalone View
src/qt/sendcoinsdialog.cpp
Show First 20 Lines • Show All 598 Lines • ▼ Show 20 Lines | switch (sendCoinsReturn.status) { | ||||
msgParams.first = | msgParams.first = | ||||
tr("The transaction was rejected with the following reason: %1") | tr("The transaction was rejected with the following reason: %1") | ||||
.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(QString::fromStdString( | ||||
model->getOptionsModel()->getDisplayUnit(), | GetConfig().GetMaxFeePerKB().ToString())); | ||||
GetConfig().GetMaxFee())); | |||||
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 |