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
This commit is contained in:
ladidan 2021-08-29 23:29:47 +00:00
parent b0ac3464ca
commit beab306e07

View File

@ -635,7 +635,7 @@ impl DoppelgangerService {
self.log, self.log,
"Found no doppelganger"; "Found no doppelganger";
"further_checks_remaining" => doppelganger_state.remaining_epochs, "further_checks_remaining" => doppelganger_state.remaining_epochs,
"epoch" => response.index, "epoch" => response.epoch,
"validator_index" => response.index "validator_index" => response.index
); );