dequeing with zero lenght array hangs the send operation - fix
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/SendTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/SendTabViewModel.cs
@@ -135,6 +135,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
try
{
(uint256 TransactionId, uint Index)[] toDequeue = selectedCoinViewModels.Where(x => x.CoinJoinInProgress).Select(x => (x.Model.TransactionId, x.Model.Index)).ToArray();
+ if (toDequeue!=null && toDequeue.Length!=0)
await Global.ChaumianClient.DequeueCoinsFromMixAsync(toDequeue);
}
catch

MODIFY
WalletWasabi/Services/CcjClient.cs
WalletWasabi/Services/CcjClient.cs
@@ -732,6 +732,8 @@ namespace WalletWasabi.Services
public async Task DequeueCoinsFromMixAsync(params (uint256 txid, uint index)[] coins)
{
+ if (coins == null || coins.Length == 0) return;
+
using (var cts = new CancellationTokenSource(TimeSpan.FromSeconds(3)))
{
try

dequeing with zero lenght array hangs the send operation - fix