Skip to content

Commit

Permalink
Fix SRRBMiner amd port
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPlusGH committed Nov 26, 2021
1 parent 1877437 commit acb367c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Miners/A-SRBMiner.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty
#Curve diff doesn't play well on ZPool
If ($Pool.Host -like "*zpool*" -and $AlgoNorm -eq "curvehash") {Return}

$Arguments = "--algorithm $($AlgoNorm) --pool stratum+tcp://$($Pool.Host):$($Pool.Port) --cpu-threads $($ThreadCount) --nicehash true --send-stales true --api-enable --api-port $($Variables.CPUMinerAPITCPPort) --disable-cpu --wallet $($Pool.User) --password $($Password)"
$Arguments = "--algorithm $($AlgoNorm) --pool stratum+tcp://$($Pool.Host):$($Pool.Port) --cpu-threads $($ThreadCount) --nicehash true --send-stales true --api-enable --api-port $($Variables.AMDMinerAPITCPPort) --disable-cpu --wallet $($Pool.User) --password $($Password)"

[PSCustomObject]@{
Type = "AMD"
Path = $Path
Arguments = Merge-Command -Slave $Arguments -Master $CustomCmdAdds -Type "Command"
HashRates = [PSCustomObject]@{($AlgoNorm) = $Stats."$($Name)_$($AlgoNorm)_HashRate".Week * .9915 } # substract 0.85% devfee
API = "SRB"
Port = $Variables.CPUMinerAPITCPPort
Port = $Variables.AMDMinerAPITCPPort
Wrap = $false
URI = $Uri
User = $Pool.User
Expand Down

0 comments on commit acb367c

Please sign in to comment.