From beab306e07f5bb86c940c480ded303f8f0195342 Mon Sep 17 00:00:00 2001 From: ladidan <46406043+ladidan@users.noreply.github.com> Date: Sun, 29 Aug 2021 23:29:47 +0000 Subject: [PATCH] Fix log output for INFO Found no doppelganger (#2551) ## Issue Addressed log output "INFO Found no doppelganger validator_index: 11111, epoch: 11111, further_checks_remaining: 0, service: doppelganger" whereby validator_index = epoch ## Proposed Changes epoch = current epoch --- validator_client/src/doppelganger_service.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validator_client/src/doppelganger_service.rs b/validator_client/src/doppelganger_service.rs index 8df05023e..9e134f94d 100644 --- a/validator_client/src/doppelganger_service.rs +++ b/validator_client/src/doppelganger_service.rs @@ -635,7 +635,7 @@ impl DoppelgangerService { self.log, "Found no doppelganger"; "further_checks_remaining" => doppelganger_state.remaining_epochs, - "epoch" => response.index, + "epoch" => response.epoch, "validator_index" => response.index );