Clear progress map on squash (#3377)

This commit is contained in:
carllin
2019-03-19 17:30:36 -07:00
committed by GitHub
parent 94b5835738
commit fe9e771b9b
2 changed files with 20 additions and 0 deletions

View File

@@ -68,6 +68,7 @@ impl BankForks {
.map(|(k, _v)| *k)
.collect()
}
pub fn get(&self, bank_slot: u64) -> Option<&Arc<Bank>> {
self.banks.get(&bank_slot)
}