Unmark coins as unavailable
Otherwise they will not be selected for a blame round.
MODIFY
WalletWasabi/WabiSabi/Client/AliceClient.cs
WalletWasabi/WabiSabi/Client/AliceClient.cs
@@ -204,9 +204,15 @@ namespace WalletWasabi.WabiSabi.Client
}
}
+ public void Finish()
+ {
+ SmartCoin.CoinJoinInProgress = false;
+ }
+
public async Task RemoveInputAsync(CancellationToken cancellationToken)
{
await ArenaClient.RemoveInputAsync(RoundId, AliceId, cancellationToken).ConfigureAwait(false);
+ SmartCoin.CoinJoinInProgress = false;
Logger.LogInfo($"Round ({RoundId}), Alice ({AliceId}): Inputs removed.");
}

MODIFY
WalletWasabi/WabiSabi/Client/CoinJoinClient.cs
WalletWasabi/WabiSabi/Client/CoinJoinClient.cs
@@ -149,6 +149,10 @@ namespace WalletWasabi.WabiSabi.Client
}
finally
{
+ foreach (var aliceClient in registeredAliceClients)
+ {
+ aliceClient.Finish();
+ }
InCriticalCoinJoinState = false;
}
}

Unmark coins as unavailable

Otherwise they will not be selected for a blame round.