Debug log pubkey chainstart already added (#5461)

* debug logging
* Merge refs/heads/master into pubkey-log
This commit is contained in:
Raul Jordan 2020-04-16 15:46:14 -05:00 committed by GitHub
parent 8a3ea1e936
commit 52b46d4570
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}