Clear sapling witness cache
This commit is contained in:
committed by
Simon
parent
9d804cc619
commit
403b9b4e4d
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user