fix indendation in wallet.cpp
Signed-off-by: Pasta <pasta@dashboost.org>
This commit is contained in:
parent
3a6b2ce274
commit
746ebf1651
@ -3659,8 +3659,7 @@ bool CWallet::CreateTransaction(const std::vector<CRecipient>& vecSend, CWalletT
|
|||||||
if (pick_new_inputs) {
|
if (pick_new_inputs) {
|
||||||
nValueIn = 0;
|
nValueIn = 0;
|
||||||
setCoins.clear();
|
setCoins.clear();
|
||||||
if (!SelectCoins(vAvailableCoins, nValueToSelect, setCoins, nValueIn, coinControl, nCoinType))
|
if (!SelectCoins(vAvailableCoins, nValueToSelect, setCoins, nValueIn, coinControl, nCoinType)) {
|
||||||
{
|
|
||||||
if (nCoinType == ONLY_NONDENOMINATED) {
|
if (nCoinType == ONLY_NONDENOMINATED) {
|
||||||
strFailReason = _("Unable to locate enough PrivateSend non-denominated funds for this transaction.");
|
strFailReason = _("Unable to locate enough PrivateSend non-denominated funds for this transaction.");
|
||||||
} else if (nCoinType == ONLY_DENOMINATED) {
|
} else if (nCoinType == ONLY_DENOMINATED) {
|
||||||
@ -3669,8 +3668,8 @@ bool CWallet::CreateTransaction(const std::vector<CRecipient>& vecSend, CWalletT
|
|||||||
} else if (nValueIn < nValueToSelect) {
|
} else if (nValueIn < nValueToSelect) {
|
||||||
strFailReason = _("Insufficient funds.");
|
strFailReason = _("Insufficient funds.");
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
return false;}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const CAmount nChange = nValueIn - nValueToSelect;
|
const CAmount nChange = nValueIn - nValueToSelect;
|
||||||
|
Loading…
Reference in New Issue
Block a user