diff --git a/node/pkg/chain/helper/signer.go b/node/pkg/chain/helper/signer.go index c9557ae03..c1394cab3 100644 --- a/node/pkg/chain/helper/signer.go +++ b/node/pkg/chain/helper/signer.go @@ -127,13 +127,16 @@ func (s *Signer) MakeGlobalAggregateProof(val int64, timestamp time.Time, name s func (s *Signer) autoRenew(ctx context.Context) { autoRenewTicker := time.NewTicker(s.renewInterval) - _ = s.CheckAndUpdateSignerPK(ctx) + err := s.CheckAndUpdateSignerPK(ctx) + if err != nil { + log.Error().Str("Player", "Signer").Err(err).Msg("failed to renew signer pk") + } for { select { case <-ctx.Done(): return case <-autoRenewTicker.C: - err := s.CheckAndUpdateSignerPK(ctx) + err = s.CheckAndUpdateSignerPK(ctx) if err != nil { log.Error().Str("Player", "Signer").Err(err).Msg("failed to renew signer pk") }