diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 965ab5b22..15be2072d 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -827,6 +827,7 @@ protected: return; } try { + LOCK(cs_wallet); for (std::pair& wtxItem : mapWallet) { auto wtx = wtxItem.second; // We skip transactions for which mapSaplingNoteData