Skip to content

Commit aeb9867

Browse files
committed
properly track
1 parent 6fa6446 commit aeb9867

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

block/internal/submitting/submitter.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,6 @@ func (s *Submitter) daSubmissionLoop() {
191191
}()
192192
}
193193
}
194-
195-
s.metrics.DAInclusionHeight.Set(float64(s.GetDAIncludedHeight()))
196194
}
197195
}
198196
}
@@ -211,6 +209,7 @@ func (s *Submitter) processDAInclusionLoop() {
211209
return
212210
case <-ticker.C:
213211
currentDAIncluded := s.GetDAIncludedHeight()
212+
s.metrics.DAInclusionHeight.Set(float64(s.GetDAIncludedHeight()))
214213

215214
for {
216215
nextHeight := currentDAIncluded + 1

0 commit comments

Comments
 (0)