diff --git a/ledger-tool/src/main.rs b/ledger-tool/src/main.rs index 84e469f843..5e7a3eb6f3 100644 --- a/ledger-tool/src/main.rs +++ b/ledger-tool/src/main.rs @@ -1737,6 +1737,7 @@ fn main() { SubCommand::with_name("bank-hash") .about("Prints the hash of the working bank after reading the ledger") .arg(&max_genesis_archive_unpacked_size_arg) + .arg(&halt_at_slot_arg) ) .subcommand( SubCommand::with_name("bounds") @@ -2473,7 +2474,7 @@ fn main() { ("bank-hash", Some(arg_matches)) => { let process_options = ProcessOptions { new_hard_forks: hardforks_of(arg_matches, "hard_forks"), - halt_at_slot: Some(0), + halt_at_slot: value_t!(arg_matches, "halt_at_slot", Slot).ok(), poh_verify: false, ..ProcessOptions::default() };