adjust CoinType logic

Signed-off-by: Pasta <pasta@dashboost.org>
This commit is contained in:
Pasta 2019-07-01 08:00:23 -05:00
parent d5d27ad19b
commit 6ad8fe0e9f
No known key found for this signature in database
GPG Key ID: D362C9F7142766AE

View File

@ -2602,7 +2602,7 @@ void CWallet::AvailableCoins(std::vector<COutput> &vCoins, bool fOnlySafe, const
if (coinControl && coinControl->HasSelected() && !coinControl->fAllowOtherInputs && !coinControl->IsSelected(COutPoint((*it).first, i)))
continue;
if (IsLockedCoin((*it).first, i) || nCoinType == ONLY_1000)
if (IsLockedCoin((*it).first, i) || nCoinType != ONLY_1000)
continue;
if (IsSpent(wtxid, i))