Fix fork/schedule procedure comment.
This commit is contained in:
parent
a1303f3e50
commit
ec48e30ea8
|
@ -25,7 +25,8 @@ 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: This implementation doesn't look right.
|
# TODO: Implemenation needs a fix, when forks infrastructure will be
|
||||||
|
# established.
|
||||||
return RestApiResponse.jsonResponse(
|
return RestApiResponse.jsonResponse(
|
||||||
[node.chainDag.headState.data.data.fork]
|
[node.chainDag.headState.data.data.fork]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue