ledger-tool: Add --all option to bounds, to display all non-empty slots (#7592)

This commit is contained in:
Michael Vines
2019-12-20 20:43:53 -07:00
committed by GitHub
parent ca10cf081f
commit 3f69d58498
2 changed files with 33 additions and 22 deletions

View File

@ -446,7 +446,7 @@ pub fn process_show_block_production(
first_slot_in_epoch
};
let start_slot_index = (start_slot - first_slot_in_epoch) as usize;
let end_slot_index = (end_slot - start_slot) as usize;
let end_slot_index = (end_slot - first_slot_in_epoch) as usize;
let progress_bar = new_spinner_progress_bar();
progress_bar.set_message(&format!(