mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
adjust CoinType logic
Signed-off-by: Pasta <pasta@dashboost.org>
This commit is contained in:
parent
d5d27ad19b
commit
6ad8fe0e9f
@ -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)))
|
if (coinControl && coinControl->HasSelected() && !coinControl->fAllowOtherInputs && !coinControl->IsSelected(COutPoint((*it).first, i)))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (IsLockedCoin((*it).first, i) || nCoinType == ONLY_1000)
|
if (IsLockedCoin((*it).first, i) || nCoinType != ONLY_1000)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (IsSpent(wtxid, i))
|
if (IsSpent(wtxid, i))
|
||||||
|
Loading…
Reference in New Issue
Block a user