mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 05:23:01 +01:00
reversed ds box
This commit is contained in:
parent
9aa004beb2
commit
6a731e011c
@ -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 <b>Anonymous Funds</b>";
|
||||
} else if(ui->inputType->currentText() == "Use Non-Anonymous Funds"){
|
||||
recipients[0].inputType = "ONLY_DENOMINATED";
|
||||
recipients[0].inputType = "ONLY_NONDENOMINATED";
|
||||
funds = "Using <b>NON-ANONYMOUS Funds</b>";
|
||||
} else {
|
||||
recipients[0].inputType = "ALL_COINS";
|
||||
|
@ -1466,8 +1466,10 @@ bool CWallet::CreateTransaction(std::vector<pair<CScript, int64> >& 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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user