validator: minor variable name change

This commit is contained in:
Dave Hrycyszyn
2020-01-30 13:04:43 +00:00
parent 793d42c33a
commit a3b3cc1edd
+2 -2
View File
@@ -24,7 +24,7 @@ pub struct Validator {
impl Validator {
pub fn new(config: Config) -> Self {
let dummy_keypair = MixIdentityKeyPair::new();
let hc = HealthChecker::new(
let health_checker = HealthChecker::new(
config.health_check.resolution_timeout,
config.health_check.num_test_packets,
dummy_keypair.clone(),
@@ -33,7 +33,7 @@ impl Validator {
let health_check_runner = health_check_runner::HealthCheckRunner::new(
config.health_check.directory_server.clone(),
config.health_check.interval,
hc,
health_checker,
);
Validator {