Skip to content

Commit

Permalink
Consider bot Tr and Wpkh (WalletWasabi#13344)
Browse files Browse the repository at this point in the history
  • Loading branch information
lontivero authored Aug 24, 2024
1 parent 056bff2 commit 67c9e10
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using NBitcoin.RPC;
using WalletWasabi.BitcoinCore.Rpc;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Tests.Helpers;
Expand All @@ -18,14 +17,12 @@
using WalletWasabi.WabiSabi.Backend.Rounds;
using WalletWasabi.WabiSabi.Backend.Statistics;
using WalletWasabi.WabiSabi.Client;
using WalletWasabi.WabiSabi.Client.CoinJoinProgressEvents;
using WalletWasabi.WabiSabi.Client.RoundStateAwaiters;
using WalletWasabi.WabiSabi.Models;
using WalletWasabi.WabiSabi.Models.MultipartyTransaction;
using Xunit;
using Xunit.Abstractions;
using WalletWasabi.Blockchain.TransactionOutputs;
using WalletWasabi.Logging;
using WalletWasabi.WabiSabi.Client.CoinJoin.Client;

namespace WalletWasabi.Tests.UnitTests.WabiSabi.Integration;
Expand Down Expand Up @@ -204,6 +201,7 @@ public async Task FailToRegisterOutputsCoinJoinTestAsync()
_output.WriteLine("Coins were created successfully");

keyManager.AssertLockedInternalKeysIndexed(21, false);
keyManager.AssertLockedInternalKeysIndexed(21, true);
var outputScriptCandidates = keyManager.GetNextCoinJoinKeys()
.SelectMany(x => new[] {x.PubKey.GetScriptPubKey(ScriptPubKeyType.Segwit), x.PubKey.GetScriptPubKey(ScriptPubKeyType.TaprootBIP86)})
.ToImmutableArray();
Expand Down Expand Up @@ -248,7 +246,6 @@ public async Task FailToRegisterOutputsCoinJoinTestAsync()

var coinJoinClient = WabiSabiFactory.CreateTestCoinJoinClient(mockHttpClientFactory, keyManager, roundStateUpdater);

Logger.SetModes(LogMode.File); Logger.TurnOn(); Logger.SetMinimumLevel(LogLevel.Trace);
// Run the coinjoin client task.
var coinjoinResultTask = coinJoinClient.StartCoinJoinAsync(async () => await Task.FromResult(coins), true, cts.Token);

Expand Down

0 comments on commit 67c9e10

Please sign in to comment.