Stop eth1 from always enabling (#1125)

This commit is contained in:
Paul Hauner 2020-05-11 11:14:48 +10:00 committed by GitHub
parent 2692c779a7
commit 294d007f64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,9 +211,8 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
Arg::with_name("eth1-endpoint")
.long("eth1-endpoint")
.value_name("HTTP-ENDPOINT")
.help("Specifies the server for a web3 connection to the Eth1 chain. Also enables the --eth1 flag.")
.help("Specifies the server for a web3 connection to the Eth1 chain. Also enables the --eth1 flag. Defaults to http://127.0.0.1:8545.")
.takes_value(true)
.default_value("http://127.0.0.1:8545")
)
.arg(
Arg::with_name("slots-per-restore-point")