Moved to using block
MODIFY
WalletWasabi.Tests/LiveServerTests.cs
WalletWasabi.Tests/LiveServerTests.cs
@@ -89,13 +89,14 @@ namespace WalletWasabi.Tests
Proof = proof // blinded.BlindedData signed with private key owning utxos
});
- var aliceClient = await AliceClient.CreateNewAsync(changeOutputAddress, blinded, inputProofModels, LiveServerTestsFixture.UriMappings[networkType]);
-
+ using (var aliceClient = await AliceClient.CreateNewAsync(changeOutputAddress, blinded, inputProofModels, LiveServerTestsFixture.UriMappings[networkType]))
+ {
Assert.NotNull(aliceClient.BlindedOutputSignature);
// need to uncofirm or test will fail when run again
await aliceClient.PostUnConfirmationAsync();
}
+ }
[Theory]
[InlineData(NetworkType.Testnet)]
@@ -112,8 +113,8 @@ namespace WalletWasabi.Tests
Proof = proof // blinded.BlindedData signed with private key owning utxos
});
- var aliceClient = await AliceClient.CreateNewAsync(changeOutputAddress, blinded, inputProofModels, LiveServerTestsFixture.UriMappings[networkType]);
-
+ using (var aliceClient = await AliceClient.CreateNewAsync(changeOutputAddress, blinded, inputProofModels, LiveServerTestsFixture.UriMappings[networkType]))
+ {
Assert.NotNull(aliceClient.BlindedOutputSignature);
try
@@ -129,6 +130,7 @@ namespace WalletWasabi.Tests
throw ex;
}
}
+ }
#endregion ChaumianCoinJoin

Moved to using block