Skip to content

Commit

Permalink
Revert "fix missing usage of get_index abstraction"
Browse files Browse the repository at this point in the history
This reverts commit b22c49c.
  • Loading branch information
cpubot committed Jan 11, 2025
1 parent c222ef2 commit 0b6928e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ledger/src/blockstore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4711,7 +4711,8 @@ impl Blockstore {
let mut total_start = Measure::start("Total elapsed");
let res = index_working_set.entry(slot).or_insert_with(|| {
let newly_inserted_meta = self
.get_index(slot)
.index_cf
.get(slot)
.unwrap()
.unwrap_or_else(|| Index::new(slot));
IndexMetaWorkingSetEntry {
Expand Down

0 comments on commit 0b6928e

Please sign in to comment.