lock wallet for select
This commit is contained in:
parent
0d5ca11c9a
commit
24b7028b2e
@ -348,6 +348,9 @@ bool CActiveMasternode::GetMasterNodeVin(CTxIn& vin, CPubKey& pubkey, CKey& secr
|
||||
|
||||
bool CActiveMasternode::GetMasterNodeVin(CTxIn& vin, CPubKey& pubkey, CKey& secretKey, std::string strTxHash, std::string strOutputIndex) {
|
||||
// Find possible candidates
|
||||
TRY_LOCK(pwalletMain->cs_wallet, fWallet);
|
||||
if(!fWallet) return false;
|
||||
|
||||
vector<COutput> possibleCoins = SelectCoinsMasternode();
|
||||
COutput *selectedOutput;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user