From fb312b0cd37330431ff74e17c435b78c351a4d00 Mon Sep 17 00:00:00 2001 From: vertoe Date: Thu, 15 Jan 2015 12:20:09 +0100 Subject: [PATCH] Use display unit instead of hardcoded DRK for darksend hint --- src/qt/sendcoinsdialog.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index 1fe9fe51fd..f758c2f0af 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -148,7 +148,12 @@ void SendCoinsDialog::on_sendButton_clicked() if(ui->checkUseDarksend->isChecked()) { recipients[0].inputType = "ONLY_DENOMINATED"; strFunds = "Using Anonymous Funds"; - strFee = "(Darksend requires this amount to be rounded up to the nearest 0.1DRK)"; + QString strNearestAmount( + BitcoinUnits::formatWithUnit( + model->getOptionsModel()->getDisplayUnit(), 0.1 * COIN)); + strFee = QString( + "(Darksend requires this amount to be rounded up to the nearest %1.)" + ).arg(strNearestAmount); } else { recipients[0].inputType = "ALL_COINS"; strFunds = "Using ANY AVAILABLE Funds";