Skip to content

Commit

Permalink
height is now current_height
Browse files Browse the repository at this point in the history
  • Loading branch information
veryordinally committed Oct 25, 2022
1 parent 35ffbe1 commit dbbf80f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ impl Index {
None
} else {
let progress_bar = ProgressBar::new(self.client.get_block_count()?);
progress_bar.set_position(height);
progress_bar.set_position(current_height);
progress_bar.set_style(
ProgressStyle::with_template("[indexing blocks] {wide_bar} {pos}/{len}").unwrap(),
);
Expand Down

0 comments on commit dbbf80f

Please sign in to comment.