Fix filenotfoundexception
MODIFY
WalletWasabi.Backend/Program.cs
WalletWasabi.Backend/Program.cs
@@ -54,6 +54,8 @@ namespace WalletWasabi.Backend
var getTxTasks = new List<Task<Transaction>>();
var batch = Global.RpcClient.PrepareBatch();
+ if (File.Exists(Global.Coordinator.CoinJoinsFilePath))
+ {
string[] allLines = File.ReadAllLines(Global.Coordinator.CoinJoinsFilePath);
foreach (string txId in allLines)
{
@@ -80,6 +82,8 @@ namespace WalletWasabi.Backend
UnversionedWebBuilder.UpdateMixedTextHtml(TotalVolume);
Last5CoinJoins = allLines.TakeLast(5).Reverse().ToList();
UnversionedWebBuilder.UpdateCoinJoinsHtml(Last5CoinJoins);
+ }
+
Global.Coordinator.CoinJoinBroadcasted += Coordinator_CoinJoinBroadcasted;
}
catch (Exception ex)

Fix filenotfoundexception