diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index 2ab367018..fda32520b 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -23,6 +23,8 @@ #include "txmempool.h" #include "wallet/wallet.h" +#include "darksend.h" + #include #include #include @@ -260,7 +262,7 @@ void SendCoinsDialog::on_sendButton_clicked() strFunds = tr("using") + " " + tr("anonymous funds") + ""; QString strNearestAmount( BitcoinUnits::formatWithUnit( - model->getOptionsModel()->getDisplayUnit(), 0.1 * COIN)); + model->getOptionsModel()->getDisplayUnit(), vecPrivateSendDenominations.back())); strFee = QString(tr( "(privatesend requires this amount to be rounded up to the nearest %1)." ).arg(strNearestAmount));