Bugfix: bank-hash optionally takes halt_at_slot (#29865)
bank-hash optionally takes halt_at_slot
This commit is contained in:
parent
655345728b
commit
624f3d2d8c
|
@ -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()
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue