diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index 967c1ec664..6155edba3f 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -149,10 +149,10 @@ void SendCoinsDialog::on_sendButton_clicked() recipients[0].inputType = "ONLY_DENOMINATED"; if(ui->inputType->currentText() == "Use Anonymous Funds"){ - recipients[0].inputType = "ONLY_NONDENOMINATED"; + recipients[0].inputType = "ONLY_DENOMINATED"; funds = "Using Anonymous Funds"; } else if(ui->inputType->currentText() == "Use Non-Anonymous Funds"){ - recipients[0].inputType = "ONLY_DENOMINATED"; + recipients[0].inputType = "ONLY_NONDENOMINATED"; funds = "Using NON-ANONYMOUS Funds"; } else { recipients[0].inputType = "ALL_COINS"; diff --git a/src/wallet.cpp b/src/wallet.cpp index 25ba0cab30..b801b4fbfd 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -1466,8 +1466,10 @@ bool CWallet::CreateTransaction(std::vector >& vecSend, int64 nValueIn = 0; if (!SelectCoins(nTotalValue, setCoins, nValueIn, coinControl, coin_type)) { - if(coin_type == ALL_COINS || coin_type == ONLY_NONDENOMINATED) + if(coin_type == ALL_COINS) strFailReason = _("Insufficient funds"); + else if (coin_type == ONLY_NONDENOMINATED) + strFailReason = _("Unable to locate enough Darksend non-denominated funds for this transaction"); else strFailReason = _("Unable to locate enough Darksend denominated funds for this transaction");