Skip to content

Commit

Permalink
blockstore_purge: fix inspect -> inspect_err (anza-xyz#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
AshwinSekar authored Mar 5, 2024
1 parent 93f5b51 commit 6263537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ledger/src/blockstore/blockstore_purge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ impl Blockstore {
delete_range_timer.stop();

let mut write_timer = Measure::start("write_batch");
self.db.write(write_batch).inspect(|e| {
self.db.write(write_batch).inspect_err(|e| {
error!(
"Error: {:?} while submitting write batch for purge from_slot {} to_slot {}",
e, from_slot, to_slot
Expand Down

0 comments on commit 6263537

Please sign in to comment.