Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
blockstore_purge: fix inspect -> inspect_err (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
AshwinSekar authored and willhickey committed Mar 5, 2024
1 parent f94752d commit 94ed7a3
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 94ed7a3

Please sign in to comment.