]> Git Repo - VerusCoin.git/commitdiff
Move locking to eliminate deadlock
authormiketout <[email protected]>
Mon, 18 May 2020 18:54:02 +0000 (11:54 -0700)
committermiketout <[email protected]>
Mon, 18 May 2020 18:54:02 +0000 (11:54 -0700)
src/pbaas/identity.cpp

index 481e2347550574d84f60498f34ce466db051d3fe..adf76cfaed66b171889ee266f91f95fd2398aba6 100644 (file)
@@ -309,8 +309,6 @@ CIdentity CIdentity::LookupFirstIdentity(const CIdentityID &idID, uint32_t *pHei
 
     std::vector<CAddressUnspentDbEntry> unspentOutputs;
 
-    LOCK(cs_main);
-
     CKeyID keyID(CCrossChainRPCData::GetConditionID(idID, EVAL_IDENTITY_RESERVATION));
 
     if (GetAddressUnspent(keyID, CScript::P2PKH, unspentOutputs))
This page took 0.027624 seconds and 4 git commands to generate.