Replace SignTransactionInPlace transactionbuilder continuetobuild
MODIFY
WalletWasabi.Tests/RegTests.cs
WalletWasabi.Tests/RegTests.cs
@@ -1011,7 +1011,7 @@ namespace WalletWasabi.Tests
Assert.Contains("change of (outgoing, outgoing2)", wallet.Coins.Where(x => x.Height == bestHeight).Select(x => x.Label));
Assert.Contains("change of (outgoing, outgoing2)", keyManager.GetKeys().Select(x => x.Label));
- #endregion
+ #endregion Labeling
#region AllowedInputsDisallowUnconfirmed
@@ -1048,7 +1048,7 @@ namespace WalletWasabi.Tests
Assert.True(inputCountBefore >= res.SpentCoins.Count());
Assert.Equal(res.SpentCoins.Count(), res.Transaction.Transaction.Inputs.Count);
- #endregion
+ #endregion AllowedInputsDisallowUnconfirmed
#region custom change
@@ -1065,7 +1065,7 @@ namespace WalletWasabi.Tests
Logger.LogDebug<RegTests>($"Active Output: {activeOutput.Amount.ToString(false, true)} {activeOutput.ScriptPubKey.GetDestinationAddress(network)}");
Logger.LogDebug<RegTests>($"TxId: {res.Transaction.GetHash()}");
- #endregion
+ #endregion custom change
}
finally
{
@@ -2257,10 +2257,11 @@ namespace WalletWasabi.Tests
foreach (var user in users)
{
var partSignedCj = new Transaction(unsignedCoinJoin.ToHex());
- new TransactionBuilder()
+ partSignedCj = new TransactionBuilder()
+ .ContinueToBuild(partSignedCj)
.AddKeys(user.userInputData.Select(x => x.key).ToArray())
.AddCoins(user.userInputData.Select(x => new Coin(x.tx, x.input.N)))
- .SignTransactionInPlace(partSignedCj, SigHash.All);
+ .BuildTransaction(true);
var myDic = new Dictionary<int, WitScript>();

Replace SignTransactionInPlace transactionbuilder continuetobuild