Skip to content

Commit

Permalink
Merge pull request #577 from mxaddict/added-a-missing-lock-cfund-deta…
Browse files Browse the repository at this point in the history
…ils-dialog

[cfund] Added a lock (Crashed the wallet when voting from details dialog)
  • Loading branch information
proletesseract committed Jul 30, 2019
2 parents 0f7c6c7 + b32d9c7 commit f2b924e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/qt/communityfunddisplaydetailed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ void CommunityFundDisplayDetailed::setProposalLabels() const

void CommunityFundDisplayDetailed::click_buttonBoxYesNoVote(QAbstractButton *button)
{
// Make sure we have a lock
LOCK(cs_main);

//cast the vote
bool duplicate = false;

Expand Down

0 comments on commit f2b924e

Please sign in to comment.