mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 13:28:01 -05:00
Debug log pubkey chainstart already added (#5461)
* debug logging * Merge refs/heads/master into pubkey-log
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user