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

automerge
This commit is contained in:
mergify[bot]
2019-12-20 21:30:47 -08:00
committed by Grimes
parent f120449aae
commit 0398f6b87a
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!(