Merge pull request #295 from UdjinM6/fix_possible_MN_breakage

fix possible MN breakage during mixing
This commit is contained in:
evan82 2015-04-02 09:31:17 -07:00
commit b2f895ee08

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){