remove lock from active masternode

This commit is contained in:
Evan Duffield 2015-08-10 14:48:58 -07:00
parent ea8a3f1aba
commit 595e30731a

View File

@ -414,9 +414,6 @@ vector<COutput> CActiveMasternode::SelectCoinsMasternode()
vector<COutput> filteredCoins; vector<COutput> filteredCoins;
vector<COutPoint> confLockedCoins; vector<COutPoint> confLockedCoins;
TRY_LOCK(pwalletMain->cs_wallet, fWallet);
if(!fWallet) return filteredCoins; //if we can't get the lock, return nothing
// Temporary unlock MN coins from masternode.conf // Temporary unlock MN coins from masternode.conf
if(GetBoolArg("-mnconflock", true)) { if(GetBoolArg("-mnconflock", true)) {
uint256 mnTxHash; uint256 mnTxHash;