Fix fork/schedule procedure comment.

This commit is contained in:
cheatfate 2021-03-24 11:07:59 +02:00 committed by zah
parent a1303f3e50
commit ec48e30ea8
1 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,8 @@ func getDepositAddress(node: BeaconNode): string =
proc installConfigApiHandlers*(router: var RestRouter, node: BeaconNode) =
router.api(MethodGet,
"/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(
[node.chainDag.headState.data.data.fork]
)