From 6483e6d06fc407fd4491c4740e1fa7024dab6cfe Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Sun, 12 Feb 2017 01:04:08 +0400 Subject: [PATCH] send confirmation dialog box should display correct smallest denom (#1329) --- src/qt/sendcoinsdialog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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));