update comment (#23314)
This commit is contained in:
parent
99a057927c
commit
227df52213
|
@ -1737,9 +1737,8 @@ impl<T: IndexValue> AccountsIndex<T> {
|
||||||
(dirty_pubkeys, insertion_time.load(Ordering::Relaxed))
|
(dirty_pubkeys, insertion_time.load(Ordering::Relaxed))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Updates the given pubkey at the given slot with the new account information.
|
/// Updates the given pubkey at the given slot with the new account information.
|
||||||
// Returns true if the pubkey was newly inserted into the index, otherwise, if the
|
/// on return, the index's previous account info may be returned in 'reclaims' depending on 'previous_slot_entry_was_cached'
|
||||||
// pubkey updates an existing entry in the index, returns false.
|
|
||||||
pub fn upsert(
|
pub fn upsert(
|
||||||
&self,
|
&self,
|
||||||
slot: Slot,
|
slot: Slot,
|
||||||
|
|
Loading…
Reference in New Issue