From d4630174ccdf88426a40a1ee6d50d32f94f1db3d Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sat, 28 Dec 2019 11:51:29 -0500 Subject: [PATCH] Delete some sprout junk --- src/wallet/wallet.cpp | 4 ---- 1 file changed, 4 deletions(-) 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;