fix possible MN breakage during mixing

This commit is contained in:
UdjinM6 2015-04-02 19:06:06 +03:00
parent e29b66d1dc
commit c8657cbb4d

View File

@ -1489,7 +1489,7 @@ bool CWallet::SelectCoins(int64_t nTargetValue, set<pair<const CWalletTx*,unsign
// Note: this function should never be used for "always free" tx types like dstx
vector<COutput> vCoins;
AvailableCoins(vCoins, true, coinControl, ALL_COINS, useIX);
AvailableCoins(vCoins, true, coinControl, coin_type, useIX);
//if we're doing only denominated, we need to round up to the nearest .1DRK
if(coin_type == ONLY_DENOMINATED){