Browse Source

Delete some sprout junk

pull/62/head
Duke Leto 4 years ago
parent
commit
d4630174cc
  1. 4
      src/wallet/wallet.cpp

4
src/wallet/wallet.cpp

@ -964,10 +964,6 @@ void CWallet::ClearNoteWitnessCache()
{
LOCK(cs_wallet);
for (std::pair<const uint256, CWalletTx>& 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;

Loading…
Cancel
Save