File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
state-transition/core/state Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ func responseMiddleware(handler *handlers.Route) echo.HandlerFunc {
45
45
}
46
46
}
47
47
48
- // responseFromErr converts an error to an HTTP status code and response. If
48
+ // responseFromError converts an error to an HTTP status code and response. If
49
49
// the error is nil, the response is returned as is.
50
50
func responseFromError (data any , err error ) (int , any ) {
51
51
switch {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ func (s *StateDB) incrementPartialWithdrawalRequestInvalid() {
24
24
s .telemetrySink .IncrementCounter ("beacon_kit.statedb.partial_withdrawal_request_invalid" )
25
25
}
26
26
27
- // incrementExcessValidatorStakeWithdrawal increments the telemetry counter when a withdrawal is created
27
+ // incrementExcessStakePartialWithdrawal increments the telemetry counter when a withdrawal is created
28
28
// because a validator's stake went over the MaxEffectiveBalance.
29
29
func (s * StateDB ) incrementExcessStakePartialWithdrawal () {
30
30
s .telemetrySink .IncrementCounter ("beacon_kit.statedb.excess_stake_partial_withdrawal" )
You can’t perform that action at this time.
0 commit comments