Commit 97a7d6c5 authored by OptimismBot's avatar OptimismBot Committed by GitHub

Merge pull request #7334 from ethereum-optimism/inphi/chal-metrics

op-challenger: Fix game status metrics
parents f02e5e1a 8d93d497
...@@ -81,7 +81,7 @@ func (c *coordinator) schedule(ctx context.Context, games []common.Address) erro ...@@ -81,7 +81,7 @@ func (c *coordinator) schedule(ctx context.Context, games []common.Address) erro
c.logger.Warn("Game not found in states map", "game", addr) c.logger.Warn("Game not found in states map", "game", addr)
} }
} }
c.m.RecordGamesStatus(gamesInProgress, gamesChallengerWon, gamesDefenderWon) c.m.RecordGamesStatus(gamesInProgress, gamesDefenderWon, gamesChallengerWon)
// Finally, enqueue the jobs // Finally, enqueue the jobs
for _, j := range jobs { for _, j := range jobs {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment