Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ping-ke committed Jan 2, 2025
1 parent 4fc89bf commit b201aca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/dashboard/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,8 @@ func main() {
if err != nil {
log.Crit("Init metrics value fail", "err", err.Error())
}

d.RefreshMiningMetrics()
l1LatestBlockSub := eth.PollBlockChanges(d.ctx, d.logger, d.source, d.RefreshMetrics, ethRPC.LatestBlockNumber, epoch, epoch)
defer l1LatestBlockSub.Unsubscribe()
}
Expand Down

0 comments on commit b201aca

Please sign in to comment.