Skip to content

Commit

Permalink
Do not automatically add feature URL fragements for NiceHash pools
Browse files Browse the repository at this point in the history
* May not / does not work with some BFGMiner forks (e.g. jstefanop)
  • Loading branch information
nwoolls committed Feb 4, 2020
1 parent 64d83cc commit debba50
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions MultiMiner.Xgminer/Miner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -250,13 +250,6 @@ public Process Launch(string reason = "")
+ Environment.NewLine + Environment.NewLine + ex.Message);
}

//automatically add the #xnsub & #skipcbcheck fragments to pool URIs when mining NiceHash with BFGMiner
if (!legacyApi && pool.Host.ToLower().Contains("nicehash.com"))
{
poolUri = PoolFeatures.UpdatePoolFeature(poolUri, PoolFeatures.XNSubFragment, true);
poolUri = PoolFeatures.UpdatePoolFeature(poolUri, PoolFeatures.SkipCBCheckFragment, true);
}

if (pool.QuotaEnabled)
argument = string.Format("--quota \"{2};{0}\" -u {1}", poolUri, pool.Username, pool.Quota);
else
Expand Down

0 comments on commit debba50

Please sign in to comment.