supermajority is one word

This commit is contained in:
Michael Vines
2020-01-07 14:39:41 -07:00
parent c4220a4853
commit 47dd293904
4 changed files with 9 additions and 9 deletions

View File

@ -538,10 +538,10 @@ pub fn main() {
.help("Redirect logging to the specified file, '-' for standard error"),
)
.arg(
Arg::with_name("wait_for_super_majority")
.long("wait-for-super-majority")
Arg::with_name("wait_for_supermajority")
.long("wait-for-supermajority")
.takes_value(false)
.help("After processing the ledger, wait until a super majority of stake is visible on gossip before starting PoH"),
.help("After processing the ledger, wait until a supermajority of stake is visible on gossip before starting PoH"),
)
.get_matches();
@ -588,7 +588,7 @@ pub fn main() {
validator_config.dev_halt_at_slot = value_t!(matches, "dev_halt_at_slot", Slot).ok();
validator_config.rpc_config.enable_validator_exit = matches.is_present("enable_rpc_exit");
validator_config.wait_for_super_majority = matches.is_present("wait_for_super_majority");
validator_config.wait_for_supermajority = matches.is_present("wait_for_supermajority");
validator_config.rpc_config.faucet_addr = matches.value_of("rpc_faucet_addr").map(|address| {
solana_net_utils::parse_host_port(address).expect("failed to parse faucet address")