Delete some sprout junk
This commit is contained in:
@@ -964,10 +964,6 @@ void CWallet::ClearNoteWitnessCache()
|
|||||||
{
|
{
|
||||||
LOCK(cs_wallet);
|
LOCK(cs_wallet);
|
||||||
for (std::pair<const uint256, CWalletTx>& wtxItem : mapWallet) {
|
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) {
|
for (mapSaplingNoteData_t::value_type& item : wtxItem.second.mapSaplingNoteData) {
|
||||||
item.second.witnesses.clear();
|
item.second.witnesses.clear();
|
||||||
item.second.witnessHeight = -1;
|
item.second.witnessHeight = -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user