mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-10 21:11:22 +00:00
Correcting disable-enr-auto-update
flag definition (#2303)
## Issue Addressed N/A ## Proposed Changes Correct the `disable-enr-auto-update` boolean flag so that it no longer requires a value. Previously it would require a value which was never used. ## Additional Info Flag is read here: https://github.com/sigp/lighthouse/blob/unstable/beacon_node/src/config.rs#L585-L587
This commit is contained in:
parent
e7e5878953
commit
f6f64cf0f5
@ -142,8 +142,7 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
|
|||||||
.short("x")
|
.short("x")
|
||||||
.long("disable-enr-auto-update")
|
.long("disable-enr-auto-update")
|
||||||
.help("Discovery automatically updates the nodes local ENR with an external IP address and port as seen by other peers on the network. \
|
.help("Discovery automatically updates the nodes local ENR with an external IP address and port as seen by other peers on the network. \
|
||||||
This disables this feature, fixing the ENR's IP/PORT to those specified on boot.")
|
This disables this feature, fixing the ENR's IP/PORT to those specified on boot."),
|
||||||
.takes_value(true),
|
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("libp2p-addresses")
|
Arg::with_name("libp2p-addresses")
|
||||||
|
Loading…
Reference in New Issue
Block a user