diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 23a87da5b..c2d899060 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -964,10 +964,6 @@ void CWallet::ClearNoteWitnessCache() { LOCK(cs_wallet); for (std::pair& wtxItem : mapWallet) { - for (mapSproutNoteData_t::value_type& item : wtxItem.second.mapSproutNoteData) { - item.second.witnesses.clear(); - item.second.witnessHeight = -1; - } for (mapSaplingNoteData_t::value_type& item : wtxItem.second.mapSaplingNoteData) { item.second.witnesses.clear(); item.second.witnessHeight = -1;