diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 4a39156e2f3..1cede9905a0 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -2850,11 +2850,8 @@ void CWallet::ReacceptWalletTransactions() } // Try to add wallet transactions to memory pool - for (std::pair& item : mapSorted) - { + for (std::pair& item : mapSorted) { CWalletTx& wtx = *(item.second); - - LOCK(mempool.cs); wtx.AcceptToMemoryPool(false); } }