Fix `/eth/v1/config/fork_schedule` path.

This commit is contained in:
cheatfate 2021-03-31 15:55:01 +03:00 committed by zah
parent 64ddf4490a
commit a6147f7b9d
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ func getDepositAddress(node: BeaconNode): string =
proc installConfigApiHandlers*(router: var RestRouter, node: BeaconNode) = proc installConfigApiHandlers*(router: var RestRouter, node: BeaconNode) =
router.api(MethodGet, router.api(MethodGet,
"/api/eth/v1/config/fork/schedule") do () -> RestApiResponse: "/api/eth/v1/config/fork_schedule") do () -> RestApiResponse:
# TODO: Implemenation needs a fix, when forks infrastructure will be # TODO: Implemenation needs a fix, when forks infrastructure will be
# established. # established.
return RestApiResponse.jsonResponse( return RestApiResponse.jsonResponse(