Skip to content

Commit

Permalink
Fix solo mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Alarmod committed Dec 4, 2023
1 parent 0efacbc commit 29d71e2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2882,14 +2882,20 @@ static void ParseMessage(object sendingProcess, string message)

criticalEvent(sendingProcess);
}
else if (message.Contains("_miner::miner] Closing miner") || message.Contains("_miner::miner] Workers stalled or crashed") || message.Contains("_miner] Client closed, reconnecting"))
else if (message.Contains("_miner::miner] Closing miner") || message.Contains("_miner] Client closed, reconnecting"))
{
Console.ForegroundColor = ConsoleColor.Magenta;
Console.WriteLine(message);
Console.ForegroundColor = ConsoleColor.White;

criticalEvent(sendingProcess);
}
else if (message.Contains("_miner::miner] Workers stalled or crashed"))
{
Console.ForegroundColor = ConsoleColor.Magenta;
Console.WriteLine(message);
Console.ForegroundColor = ConsoleColor.White;
}
else if (message.Contains("Stratum: No shares") || message.ToLower(CultureInfo.CurrentCulture).Contains("reconnect"))
{
Console.ForegroundColor = ConsoleColor.Red;
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
// Minor Version
// Build Number
//
[assembly: AssemblyVersion("1.1.935")]
[assembly: AssemblyFileVersion("1.1.935")]
[assembly: AssemblyVersion("1.1.937")]
[assembly: AssemblyFileVersion("1.1.937")]

Binary file modified bin/Release/PoolWatcher.exe
Binary file not shown.

0 comments on commit 29d71e2

Please sign in to comment.