Skip to content

Commit

Permalink
Revise logs final
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Oct 2, 2023
1 parent 8e35ff3 commit eb53e4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/validator/src/services/doppelgangerService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class DoppelgangerService {
// It is safe to skip doppelganger detection
// https://github.com/ChainSafe/lodestar/issues/5856
remainingEpochs = REMAINING_EPOCHS_IF_SKIPPED;
this.logger.info("Doppelganger detection skipped, attestation from previous epoch exists in database", {
this.logger.info("Doppelganger detection skipped for validator because restart was detected", {
pubkey: truncBytes(pubkeyHex),
previousEpoch,
});
Expand All @@ -89,7 +89,7 @@ export class DoppelgangerService {
});
}
} else {
this.logger.info("Doppelganger detection skipped, validator initialized before genesis", {
this.logger.info("Doppelganger detection skipped for validator initialized before genesis", {
pubkey: truncBytes(pubkeyHex),
currentEpoch,
});
Expand Down

0 comments on commit eb53e4d

Please sign in to comment.