Skip to content

Commit

Permalink
fix: metrics id
Browse files Browse the repository at this point in the history
  • Loading branch information
Amuhar committed Jan 9, 2024
1 parent 8b9aef1 commit e4b8831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jobs/keys-update/keys-update.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export class KeysUpdateService {
const moduleInstance = this.stakingRouterService.getStakingRouterModuleImpl(module.type);

// update nonce metric
this.prometheusService.registryNonce.set({ srModuleId: module.id }, module.nonce);
this.prometheusService.registryNonce.set({ srModuleId: module.moduleId }, module.nonce);

// get operators
const operators = await moduleInstance.getOperators(module.stakingModuleAddress);
Expand Down

0 comments on commit e4b8831

Please sign in to comment.