diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 18e38cb0c..6d8c78979 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -977,7 +977,7 @@ void CWallet::ClearNoteWitnessCache() void CWallet::DecrementNoteWitnesses(const CBlockIndex* pindex) { - LOCK(cs_wallet); + LOCK2(cs_main, cs_wallet); extern int32_t HUSH_REWIND;