Simplify in tests
MODIFY
WalletWasabi.Tests/P2pTests.cs
WalletWasabi.Tests/P2pTests.cs
@@ -93,7 +93,7 @@ namespace WalletWasabi.Tests
memPoolService,
nodes,
SharedFixture.DataDir,
- new ServiceConfiguration(50, 2, 21, 50, new IPEndPoint(IPAddress.Parse("127.0.0.1"), network.DefaultPort)));
+ new ServiceConfiguration(50, 2, 21, 50, new IPEndPoint(IPAddress.Loopback, network.DefaultPort)));
Assert.True(Directory.Exists(blocksFolderPath));
try

MODIFY
WalletWasabi.Tests/RegTests.cs
WalletWasabi.Tests/RegTests.cs
@@ -81,8 +81,9 @@ namespace WalletWasabi.Tests
}
Global.Coordinator.UtxoReferee.Clear();
- var serviceConfiguration = new ServiceConfiguration(2, 2, 21, 50, new IPEndPoint(IPAddress.Parse("127.0.0.1"), Global.RpcClient.Network.DefaultPort));
- return ("password", Global.RpcClient, Global.RpcClient.Network, Global.Coordinator, serviceConfiguration);
+ var network = Global.RpcClient.Network;
+ var serviceConfiguration = new ServiceConfiguration(2, 2, 21, 50, new IPEndPoint(IPAddress.Loopback, network.DefaultPort));
+ return ("password", Global.RpcClient, network, Global.Coordinator, serviceConfiguration);
}
#region BackendTests

Simplify in tests