Skip to content

Commit 8ee611b

Browse files
author
beer-1
committed
remove unused
1 parent 7ba7a76 commit 8ee611b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

contrib/launchtools/utils/relayer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func EnsureRelayerBinary() (string, error) {
7070
versionNoV := strings.TrimPrefix(version, "v")
7171
downloadURL := fmt.Sprintf("https://github.com/cosmos/relayer/releases/download/%s/Cosmos.Relayer_%s_%s_%s.tar.gz", version, versionNoV, osName, archName)
7272
httpClient := &http.Client{Timeout: 5 * time.Minute} // Reasonable timeout for binary download
73-
resp, err := httpClient.Get(downloadURL) //nolint:gosec // G107: URL is constructed from constants and system properties
73+
resp, err := httpClient.Get(downloadURL)
7474
if err != nil {
7575
return "", errors.Wrap(err, "failed to download rly binary")
7676
}
@@ -88,7 +88,7 @@ func EnsureRelayerBinary() (string, error) {
8888

8989
// Verify checksum
9090
checksumURL := fmt.Sprintf("https://github.com/cosmos/relayer/releases/download/%s/SHA256SUMS-%s.txt", version, versionNoV)
91-
checksumResp, err := http.Get(checksumURL) //nolint:gosec // G107: URL is constructed from constants and system properties
91+
checksumResp, err := httpClient.Get(checksumURL)
9292
if err != nil {
9393
return "", errors.Wrap(err, "failed to download checksum file")
9494
}

0 commit comments

Comments
 (0)