Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
themantre authored Jan 8, 2024
2 parents bc2e8ec + 760c092 commit 054c258
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions network/network_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func testConfig() *Config {
NetworkKey: util.TempFilePath(),
BootstrapAddrStrings: []string{},
MaxConns: 8,
EnableUDP: true,
EnableNATService: false,
EnableUPnP: false,
EnableRelay: false,
Expand Down Expand Up @@ -390,7 +391,6 @@ func TestConnections(t *testing.T) {
for i, test := range tests {
// Bootstrap node
confB := testConfig()
confB.EnableUDP = true
bootstrapPort := ts.RandInt32(9999) + 10000
bootstrapAddr := fmt.Sprintf(test.bootstrapAddr, bootstrapPort)
confB.ListenAddrStrings = []string{bootstrapAddr}
Expand All @@ -401,7 +401,6 @@ func TestConnections(t *testing.T) {

// Public node
confP := testConfig()
confP.EnableUDP = true
confP.BootstrapAddrStrings = []string{
fmt.Sprintf("%s/p2p/%v", bootstrapAddr, networkB.SelfID().String()),
}
Expand Down

0 comments on commit 054c258

Please sign in to comment.