Browse Source

Add cs_wallet lock assertion to SignTransaction()

0.15
Jonas Schnelli 8 years ago
parent
commit
2ec911f60d
No known key found for this signature in database
GPG Key ID: 1EB776BB03C7922D
  1. 2
      src/wallet/wallet.cpp

2
src/wallet/wallet.cpp

@ -2277,6 +2277,8 @@ bool CWallet::SelectCoins(const std::vector<COutput>& vAvailableCoins, const CAm @@ -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;

Loading…
Cancel
Save