From d61b5f46e12638b28de65b3aba2937f0fe6812b9 Mon Sep 17 00:00:00 2001 From: cheatfate Date: Thu, 20 May 2021 18:24:37 +0300 Subject: [PATCH] Added missing redirection for POST /eth/v1/beacon/pool/attestations. --- beacon_chain/rpc/beacon_rest_api.nim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/beacon_chain/rpc/beacon_rest_api.nim b/beacon_chain/rpc/beacon_rest_api.nim index 09bd3ee58..cf77525f4 100644 --- a/beacon_chain/rpc/beacon_rest_api.nim +++ b/beacon_chain/rpc/beacon_rest_api.nim @@ -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",