Count if optimistically confirmed slot is already rooted (#15492)
This commit is contained in:
parent
1b59b163dd
commit
52f2d425e5
|
@ -127,6 +127,8 @@ impl OptimisticallyConfirmedBankTracker {
|
|||
drop(w_optimistically_confirmed_bank);
|
||||
} else if slot > bank_forks.read().unwrap().root_bank().slot() {
|
||||
pending_optimistically_confirmed_banks.insert(slot);
|
||||
} else {
|
||||
inc_new_counter_info!("dropped-already-rooted-optimistic-bank-notification", 1);
|
||||
}
|
||||
}
|
||||
BankNotification::Frozen(bank) => {
|
||||
|
|
Loading…
Reference in New Issue