Fix GetValidatorPerformance endpoint (#12638)

This commit is contained in:
Radosław Kapka 2023-07-19 17:29:07 +02:00 committed by GitHub
parent d4fd3c34de
commit 056d3ff0cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ type beaconApiBeaconChainClient struct {
stateValidatorsProvider stateValidatorsProvider
}
const getValidatorPerformanceEndpoint = "/eth/v1/beacon/validators/performance"
const getValidatorPerformanceEndpoint = "/prysm/validators/performance"
func (c beaconApiBeaconChainClient) getHeadBlockHeaders(ctx context.Context) (*apimiddleware.BlockHeaderResponseJson, error) {
blockHeader := apimiddleware.BlockHeaderResponseJson{}