Skip to content

Commit c8b0b31

Browse files
committed
Hotfix for TRex/SUQA to switch the algo type
1 parent 547ab0a commit c8b0b31

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

BitPoolMiner/Miners/Miner.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,15 @@ protected virtual BPMProcess StartProcess()
6262
var process = new BPMProcess();
6363

6464
IsMining = true;
65+
66+
// DS - Hotfix for SUQA/TREX algo type
67+
// TODO - Fix this shit
68+
69+
if (MinerBaseType == MinerBaseType.TRex && CoinType == CoinType.SUQA)
70+
{
71+
MinerArguments = MinerArguments.Replace("x16r", "x22i");
72+
}
73+
6574
process.Start(MinerWorkingDirectory, MinerArguments, MinerFileName, Hardware == HardwareType.AMD, MinerBaseType);
6675
process.MinerProcess.Exited += MinerExited;
6776
return process;

0 commit comments

Comments
 (0)