Added missing redirection for POST /eth/v1/beacon/pool/attestations.

This commit is contained in:
cheatfate 2021-05-20 18:24:37 +03:00 committed by zah
parent d4970e07d2
commit d61b5f46e1

View File

@ -905,6 +905,11 @@ proc installBeaconApiHandlers*(router: var RestRouter, node: BeaconNode) =
"/eth/v1/beacon/pool/attestations",
"/api/eth/v1/beacon/pool/attestations"
)
router.redirect(
MethodPost,
"/eth/v1/beacon/pool/attestations",
"/api/eth/v1/beacon/pool/attestations"
)
router.redirect(
MethodPost,
"/eth/v1/beacon/pool/attester_slashings",