Update WalletWasabi.Tests/UnitTests/WabiSabi/Client/AliceClientTests.cs
MODIFY
WalletWasabi.Tests/UnitTests/WabiSabi/Client/AliceClientTests.cs
WalletWasabi.Tests/UnitTests/WabiSabi/Client/AliceClientTests.cs
@@ -45,7 +45,7 @@ namespace WalletWasabi.Tests.UnitTests.WabiSabi.Client
await using var coordinator = new ArenaRequestHandler(config, new Prison(), arena, mockRpc.Object);
var apiClient = new ArenaClient(round.AmountCredentialIssuerParameters, round.WeightCredentialIssuerParameters, coordinator, new InsecureRandom());
- var bitcoinSecret = new BitcoinSecret(km.EncryptedSecret.GetKey(""), Network.Main);
+ var bitcoinSecret = km.GetSecrets("", coin1.ScriptPubKey).Single().PrivateKey.GetBitcoinSecret(Network.Main);
AliceClient aliceClient = await AliceClient.CreateNewAsync(apiClient, new[] { coin1.Coin }, bitcoinSecret, round.Id, round.Hash);
}
}

Update WalletWasabi.Tests/UnitTests/WabiSabi/Client/AliceClientTests.cs

Co-authored-by: Lucas Ontivero <lontivero@users.noreply.github.com>