Improve ENR logic for ipv6 (#4395)

Currently, the ENR of the node may not be correctly updated when specifying ipv6 fields through the CLI if an ENR exists on disk. 

This remedies a bug where we were not checking for ipv6 fields when comparing whether to use an on-disk ENR or updating based on CLI configuration parameters.
This commit is contained in:
Age Manning
2023-06-19 23:53:25 +00:00
parent 2bb62b7f7d
commit 6621e1d0c5
2 changed files with 6 additions and 2 deletions

View File

@@ -102,7 +102,7 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
Arg::with_name("network-dir")
.value_name("NETWORK_DIR")
.long("network-dir")
.help("The directory which contains the enr and it's assoicated private key")
.help("The directory which contains the enr and it's associated private key")
.takes_value(true)
)
}