Skip to content

Commit

Permalink
Merge pull request #69 from blocknative/fix/metric
Browse files Browse the repository at this point in the history
Fix registerValidator/all metric
  • Loading branch information
aratz-lasa authored Jan 9, 2023
2 parents 360b00a + 4e0424e commit a607a8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/validators/validators.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (rs *Register) RegisterValidator(ctx context.Context, m *structs.MetricGrou
logger := rs.l.WithField("method", "RegisterValidator")

tStart := time.Now()
m.AppendSince(tStart, "registerValidator", "all")
defer m.AppendSince(tStart, "registerValidator", "all")

be := rs.beaconState.Beacon()

Expand Down

0 comments on commit a607a8b

Please sign in to comment.