move started notification to where client actually started
MODIFY
WalletWasabi/WabiSabi/Client/CoinJoinManager.cs
WalletWasabi/WabiSabi/Client/CoinJoinManager.cs
@@ -153,8 +153,6 @@ public class CoinJoinManager : BackgroundService
return;
}
- NotifyWalletStartedCoinJoin(walletToStart);
-
if (IsUserInSendWorkflow)
{
ScheduleRestartAutomatically(walletToStart, trackedAutoStarts, startCommand.StopWhenAllMixed, startCommand.OverridePlebStop, stoppingToken);
@@ -203,6 +201,7 @@ public class CoinJoinManager : BackgroundService
}
var coinJoinTracker = await coinJoinTrackerFactory.CreateAndStartAsync(walletToStart, coinCandidates, startCommand.StopWhenAllMixed, startCommand.OverridePlebStop).ConfigureAwait(false);
+ NotifyWalletStartedCoinJoin(walletToStart);
if (!trackedCoinJoins.TryAdd(walletToStart.WalletName, coinJoinTracker))
{

move started notification to where client actually started