mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-02 09:46:26 +00:00
Added missing redirection for POST /eth/v1/beacon/pool/attestations.
This commit is contained in:
parent
d4970e07d2
commit
d61b5f46e1
@ -905,6 +905,11 @@ proc installBeaconApiHandlers*(router: var RestRouter, node: BeaconNode) =
|
|||||||
"/eth/v1/beacon/pool/attestations",
|
"/eth/v1/beacon/pool/attestations",
|
||||||
"/api/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(
|
router.redirect(
|
||||||
MethodPost,
|
MethodPost,
|
||||||
"/eth/v1/beacon/pool/attester_slashings",
|
"/eth/v1/beacon/pool/attester_slashings",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user