From 158b70b84242f4b7d7fd93dac22e1de9295a4156 Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Mon, 16 Dec 2024 09:29:09 +0100 Subject: [PATCH] Remove deprecated code --- .../internal/integrationtest/infrastructure/test.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cmd/stellar-rpc/internal/integrationtest/infrastructure/test.go b/cmd/stellar-rpc/internal/integrationtest/infrastructure/test.go index 1cb83c87..938b14e5 100644 --- a/cmd/stellar-rpc/internal/integrationtest/infrastructure/test.go +++ b/cmd/stellar-rpc/internal/integrationtest/infrastructure/test.go @@ -362,13 +362,6 @@ func (i *Test) generateCaptiveCoreCfgForContainer() { // Get old version of captive-core-integration-tests.cfg.tmpl out, err := getOldVersionCaptiveCoreConfigVersion("docker", captiveCoreConfigTemplateFilename) - if err != nil { - // Try the directory before the integration test refactoring - // TODO: remove this hack after protocol 22 is released - out, err = getOldVersionCaptiveCoreConfigVersion("../../test", captiveCoreConfigFilename) - outStr := strings.Replace(string(out), `ADDRESS="localhost"`, `ADDRESS="${CORE_HOST_PORT}"`, -1) - out = []byte(outStr) - } require.NoError(i.t, err) i.generateCaptiveCoreCfg(out, inContainerCaptiveCorePort, inContainerCoreHostname) }