Skip to content

Commit

Permalink
Debug log pubkey chainstart already added (#5461)
Browse files Browse the repository at this point in the history
* debug logging
* Merge refs/heads/master into pubkey-log
  • Loading branch information
rauljordan authored Apr 16, 2020
1 parent 8a3ea1e commit 52b46d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon-chain/powchain/log_processing.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func (s *Service) ProcessDepositLog(ctx context.Context, depositLog gethTypes.Lo
if !s.chainStartData.Chainstarted {
var pubkey = fmt.Sprintf("%#x", depositData.PublicKey)
if s.depositCache.PubkeyInChainstart(ctx, pubkey) {
log.WithField("publicKey", pubkey).Warn("Pubkey has already been submitted for chainstart")
log.WithField("publicKey", pubkey).Debug("Pubkey has already been submitted for chainstart")
} else {
s.depositCache.MarkPubkeyForChainstart(ctx, pubkey)
}
Expand Down

0 comments on commit 52b46d4

Please sign in to comment.