Skip to content

Commit 668e8e0

Browse files
committed
lint
1 parent 3724d6f commit 668e8e0

File tree

4 files changed

+3
-8
lines changed

4 files changed

+3
-8
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.7.5
1+
1.7.6

go.mod

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ module github.com/ava-labs/avalanche-network-runner
22

33
go 1.21
44

5-
toolchain go1.22.0
6-
75
require (
86
github.com/ava-labs/avalanchego v1.11.0
97
github.com/ava-labs/coreth v0.13.0-rc.0

local/network.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1092,8 +1092,8 @@ func (ln *localNetwork) buildArgs(
10921092

10931093
// avoid given these again, as apiPort/p2pPort can be dynamic even if given in nodeConfig
10941094
portFlags := set.Set[string]{
1095-
config.HTTPPortKey: {},
1096-
config.StakingPortKey: {},
1095+
config.HTTPPortKey: struct{}{},
1096+
config.StakingPortKey: struct{}{},
10971097
}
10981098

10991099
// Add flags given in node config.

local/network_test.go

-3
Original file line numberDiff line numberDiff line change
@@ -1163,11 +1163,8 @@ func TestWriteFiles(t *testing.T) {
11631163
}
11641164
stakingKeyPath := filepath.Join(tmpDir, stakingKeyFileName)
11651165
stakingCertPath := filepath.Join(tmpDir, stakingCertFileName)
1166-
stakingSigningKeyPath := filepath.Join(tmpDir, stakingSigningKeyFileName)
11671166
genesisPath := filepath.Join(tmpDir, genesisFileName)
11681167
configFilePath := filepath.Join(tmpDir, configFileName)
1169-
chainConfigDir := filepath.Join(tmpDir, chainConfigSubDir)
1170-
subnetConfigDir := filepath.Join(tmpDir, subnetConfigSubDir)
11711168
cChainConfigPath := filepath.Join(tmpDir, chainConfigSubDir, "C", configFileName)
11721169

11731170
type test struct {

0 commit comments

Comments
 (0)