Skip to content

Commit

Permalink
Fix error in validators endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsporn committed Mar 8, 2024
1 parent 1c2cbe5 commit 688f982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/restapi/core/accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func validators(c echo.Context) (*api.ValidatorsResponse, error) {
}
slotRange := uint32(requestedSlot) / restapi.ParamsRestAPI.RequestsMemoryCacheGranularity

return deps.RequestHandler.Validators(slotRange, pageSize, cursorIndex)
return deps.RequestHandler.Validators(slotRange, cursorIndex, pageSize)
}

func validatorByAccountAddress(c echo.Context) (*api.ValidatorResponse, error) {
Expand Down

0 comments on commit 688f982

Please sign in to comment.