Skip to content

Commit

Permalink
fix: resubmit interval (#160) [backport] (#162)
Browse files Browse the repository at this point in the history
We forgot to update the time o the checkpoint.

closes #151 again
  • Loading branch information
Lazar955 authored Jan 9, 2025
1 parent 015e0e9 commit aa07f75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## Unreleased

### Bug Fixes

* [#160](https://github.com/babylonlabs-io/vigilante/pull/160) fix: resubmit interval

## v0.19.1

### Bug Fixes
Expand Down
1 change: 1 addition & 0 deletions submitter/relayer/relayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ func (rl *Relayer) MaybeResubmitSecondCheckpointTx(ckpt *ckpttypes.RawCheckpoint

// update the second tx of the last submitted checkpoint as it is replaced
rl.lastSubmittedCheckpoint.Tx2 = resubmittedTx2
rl.lastSubmittedCheckpoint.TS = time.Now()

storedCkpt := store.NewStoredCheckpoint(
rl.lastSubmittedCheckpoint.Tx1.Tx,
Expand Down

0 comments on commit aa07f75

Please sign in to comment.