Skip to content

Commit

Permalink
fix: panic in SendCheckpointToBTC (#138)
Browse files Browse the repository at this point in the history
resolve this issue:
#137
  • Loading branch information
guoshijiang authored Dec 11, 2024
1 parent b75c9cf commit 674853f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions submitter/submitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 674853f

Please sign in to comment.