Browse Source

Clear sapling witness cache

pull/4/head
Eirik Ogilvie-Wigley 6 years ago
committed by Simon
parent
commit
403b9b4e4d
  1. 4
      src/wallet/wallet.cpp

4
src/wallet/wallet.cpp

@ -748,6 +748,10 @@ void CWallet::ClearNoteWitnessCache()
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;
}
}
nWitnessCacheSize = 0;
}

Loading…
Cancel
Save