Merge pull request #3401
012ca1cLoadWallet: acquire cs_wallet mutex before clearing setKeyPool (Wladimir J. van der Laan)9569168Document cs_wallet lock and add AssertLockHeld (Wladimir J. van der Laan)19a5676Use mutex pointer instead of name for AssertLockHeld (Wladimir J. van der Laan)
This commit is contained in:
@@ -2235,7 +2235,7 @@ void PushGetBlocks(CNode* pnode, CBlockIndex* pindexBegin, uint256 hashEnd)
|
||||
|
||||
bool ProcessBlock(CValidationState &state, CNode* pfrom, CBlock* pblock, CDiskBlockPos *dbp)
|
||||
{
|
||||
AssertLockHeld("cs_main");
|
||||
AssertLockHeld(cs_main);
|
||||
|
||||
// Check for duplicate
|
||||
uint256 hash = pblock->GetHash();
|
||||
|
||||
Reference in New Issue
Block a user