diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a34d22..a892d23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ## Unreleased +### Bug Fixes +* [#138](https://github.com/babylonlabs-io/vigilante/pull/138) fix: panic in SendCheckpointToBTC + ## v0.18.0 ### Improvements diff --git a/submitter/submitter.go b/submitter/submitter.go index d72e8fb..e1783ff 100644 --- a/submitter/submitter.go +++ b/submitter/submitter.go @@ -207,6 +207,7 @@ func (s *Submitter) processCheckpoints() { if err := s.relayer.SendCheckpointToBTC(ckpt); err != nil { s.logger.Errorf("Failed to submit the raw checkpoint for %v: %v", ckpt.Ckpt.EpochNum, err) s.metrics.FailedCheckpointsCounter.Inc() + continue } if err := s.relayer.MaybeResubmitSecondCheckpointTx(ckpt); err != nil { s.logger.Errorf("Failed to resubmit the raw checkpoint for %v: %v", ckpt.Ckpt.EpochNum, err)