Skip to content

Commit

Permalink
fix(taiko-client): revert tracker.triggered related changes (#18737)
Browse files Browse the repository at this point in the history
  • Loading branch information
mask-pp authored Jan 9, 2025
1 parent d81a630 commit e76d865
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ func (t *SyncProgressTracker) ClearMeta() {

log.Debug("Clear sync progress tracker meta")

t.triggered = false
t.lastSyncedBlockID = nil
t.lastSyncedBlockHash = common.Hash{}
t.outOfSync = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (s *BeaconSyncProgressTrackerTestSuite) TestSyncProgressed() {
func (s *BeaconSyncProgressTrackerTestSuite) TestClearMeta() {
s.t.triggered = true
s.t.ClearMeta()
s.True(s.t.triggered)
s.False(s.t.triggered)
}

func (s *BeaconSyncProgressTrackerTestSuite) TestHeadChanged() {
Expand Down

0 comments on commit e76d865

Please sign in to comment.