Update test.sdk nuget
MODIFY
WalletWasabi.Tests/NodeBuilding/CoreNode.cs
WalletWasabi.Tests/NodeBuilding/CoreNode.cs
@@ -74,7 +74,7 @@ namespace WalletWasabi.Tests.NodeBuilding
}
public CoreNodeState State { get; private set; }
- private int[] _ports;
+ private readonly int[] _ports;
public int ProtocolPort
{
@@ -167,7 +167,7 @@ namespace WalletWasabi.Tests.NodeBuilding
private List<Transaction> _transactions = new List<Transaction>();
private HashSet<OutPoint> _locked = new HashSet<OutPoint>();
- private Money _fee = Money.Coins(0.0001m);
+ private readonly Money _fee = Money.Coins(0.0001m);
public Transaction GiveMoney(Script destination, Money amount, bool broadcast = true)
{
var rpc = CreateRpcClient();
@@ -242,7 +242,7 @@ namespace WalletWasabi.Tests.NodeBuilding
Broadcast(tx);
}
- private object _l = new object();
+ private readonly object _l = new object();
public void Kill(bool cleanFolder = true)
{
lock (_l)

MODIFY
WalletWasabi.Tests/NodeBuilding/NodeBuilder.cs
WalletWasabi.Tests/NodeBuilding/NodeBuilder.cs
@@ -80,21 +80,15 @@ namespace WalletWasabi.Tests.NodeBuilding
}
private int _last = 0;
- private string _root;
- private string _bitcoind;
+ private readonly string _root;
+
public NodeBuilder(string root, string bitcoindPath)
{
_root = root;
- _bitcoind = bitcoindPath;
+ BitcoinD = bitcoindPath;
}
- public string BitcoinD
- {
- get
- {
- return _bitcoind;
- }
- }
+ public string BitcoinD { get; }
public List<CoreNode> Nodes { get; } = new List<CoreNode>();
public NodeConfigParameters ConfigParameters { get; } = new NodeConfigParameters();

MODIFY
WalletWasabi.Tests/WalletWasabi.Tests.csproj
WalletWasabi.Tests/WalletWasabi.Tests.csproj
<ItemGroup>
<PackageReference Include="AltCover" Version="3.0.475" />
- <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.0" />
+ <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.2" />
<PackageReference Include="xunit" Version="2.3.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.1" />

Update test.sdk nuget