Skip to content

Commit

Permalink
Fix network tests
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph committed Jan 11, 2024
1 parent 1ebe734 commit 1bb7fdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion network/peer/test_peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func StartTestPeer(
return nil, err
}

signerIP := ips.NewDynamicIPPort(net.IPv6zero, 0)
signerIP := ips.NewDynamicIPPort(net.IPv6zero, 1)
tls := tlsCert.PrivateKey.(crypto.Signer)

peer := Start(
Expand Down
2 changes: 1 addition & 1 deletion network/test_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ func NewTestNetwork(
networkConfig.ResourceTracker.DiskTracker(),
)

networkConfig.MyIPPort = ips.NewDynamicIPPort(net.IPv4zero, 0)
networkConfig.MyIPPort = ips.NewDynamicIPPort(net.IPv4zero, 1)

return NewNetwork(
&networkConfig,
Expand Down

0 comments on commit 1bb7fdf

Please sign in to comment.