diff --git a/cmd/dashboard/main.go b/cmd/dashboard/main.go index 1fc1e72b..1475cd39 100644 --- a/cmd/dashboard/main.go +++ b/cmd/dashboard/main.go @@ -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() }