Skip to content

Commit

Permalink
Add cs_wallet lock assertion to SignTransaction()
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasschnelli committed May 11, 2017
1 parent fbf385c commit 2ec911f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2277,6 +2277,8 @@ bool CWallet::SelectCoins(const std::vector<COutput>& vAvailableCoins, const CAm

bool CWallet::SignTransaction(CMutableTransaction &tx)
{
AssertLockHeld(cs_wallet); // mapWallet

// sign the new tx
CTransaction txNewConst(tx);
int nIn = 0;
Expand Down

0 comments on commit 2ec911f

Please sign in to comment.