From 7166e6d9d61c0030a30da0c85a717efac7d69239 Mon Sep 17 00:00:00 2001 From: gbayasgalan Date: Wed, 18 Dec 2024 17:41:21 +0100 Subject: [PATCH] FIX: endpoint --- .../src/backend/ethereum-services/PrysmValidatorService.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/launcher/src/backend/ethereum-services/PrysmValidatorService.js b/launcher/src/backend/ethereum-services/PrysmValidatorService.js index 93ec0e1ba..56722c2a5 100755 --- a/launcher/src/backend/ethereum-services/PrysmValidatorService.js +++ b/launcher/src/backend/ethereum-services/PrysmValidatorService.js @@ -31,8 +31,10 @@ export class PrysmValidatorService extends NodeService { if (network === "devnet") { const consensusDir = client.volumes.find((vol) => vol.servicePath.includes("/consensus")).destinationPath; volumes.push(new ServiceVolume(consensusDir, configYamlDir)); + return client.buildConsensusClientEndpoint(); + } else { + return client.buildConsensusClientHttpEndpointUrl(); } - return client.buildConsensusClientEndpoint(); }) .join();