|
|
|
@ -2259,6 +2259,9 @@ void CWallet::AvailableCoins(std::vector<COutput> &vCoins, bool fOnlySafe, const
@@ -2259,6 +2259,9 @@ void CWallet::AvailableCoins(std::vector<COutput> &vCoins, bool fOnlySafe, const
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
bool fSpendableIn = ((mine & ISMINE_SPENDABLE) != ISMINE_NO) || (coinControl && coinControl->fAllowWatchOnly && (mine & ISMINE_WATCH_SOLVABLE) != ISMINE_NO); |
|
|
|
|
if (CKevaScript::isKevaScript(pcoin->tx->vout[i].scriptPubKey)) { |
|
|
|
|
fSpendableIn = false; |
|
|
|
|
} |
|
|
|
|
bool fSolvableIn = (mine & (ISMINE_SPENDABLE | ISMINE_WATCH_SOLVABLE)) != ISMINE_NO; |
|
|
|
|
|
|
|
|
|
vCoins.push_back(COutput(pcoin, i, nDepth, fSpendableIn, fSolvableIn, safeTx)); |
|
|
|
|