Skip to content

Commit

Permalink
fix deadlock (#1531)
Browse files Browse the repository at this point in the history
  • Loading branch information
UdjinM6 authored and schinzelh committed Jul 17, 2017
1 parent aa32f1d commit 27b6f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/governance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ void CGovernanceManager::UpdateCachesAndClean()

std::vector<uint256> vecDirtyHashes = mnodeman.GetAndClearDirtyGovernanceObjectHashes();

LOCK(cs);
LOCK2(cs_main, cs);

// Flag expired watchdogs for removal
int64_t nNow = GetAdjustedTime();
Expand Down

0 comments on commit 27b6f36

Please sign in to comment.