Skip to content

Commit

Permalink
Fix log output for INFO Found no doppelganger (#2551)
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
ladidan committed Aug 29, 2021
1 parent b0ac346 commit beab306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validator_client/src/doppelganger_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
);

Expand Down

0 comments on commit beab306

Please sign in to comment.