Account for duplicate before a bank is frozen or replayed (#17866)
This commit is contained in:
@@ -458,6 +458,7 @@ impl ProgressMap {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
pub fn is_unconfirmed_duplicate(&self, slot: Slot) -> Option<bool> {
|
||||
self.get(&slot).map(|p| {
|
||||
p.duplicate_stats
|
||||
|
Reference in New Issue
Block a user