Skip to content

Commit

Permalink
Add comment to OptimisticallyConfirmedBankTracker (#33238)
Browse files Browse the repository at this point in the history
Add comment
  • Loading branch information
CriesofCarrots authored Sep 21, 2023
1 parent cd9b2cc commit 3e8ccbe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rpc/src/optimistically_confirmed_bank_tracker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,9 @@ impl OptimisticallyConfirmedBankTracker {
slot,
timestamp: timestamp(),
});
// NOTE: replay of `slot` may or may not be complete. Therefore, most new
// functionality to be triggered on optimistic confirmation should go in
// `notify_or_defer()` under the `bank.is_frozen()` case instead of here.
}
BankNotification::Frozen(bank) => {
let frozen_slot = bank.slot();
Expand Down

0 comments on commit 3e8ccbe

Please sign in to comment.