Skip to content

Commit

Permalink
revert lolminer old speed read
Browse files Browse the repository at this point in the history
  • Loading branch information
Quake4 committed Feb 12, 2022
1 parent cd49178 commit d34fd07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Get-Speed.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ function Get-Speed([Parameter(Mandatory = $true)] [MinerProcess[]] $MinerProcess
Get-HttpAsJson $MP "http://$Server`:$Port/summary" {
Param([PSCustomObject] $resjson)

$unit = $alg.Performance_Unit -replace "h/s" -replace "sol/s" -replace "g/s";
$unit = $resjson.Session.Performance_Unit -replace "h/s" -replace "sol/s" -replace "g/s";
$resjson.GPUs | ForEach-Object {
Set-SpeedStr ($_.Index) ($_.Performance) $unit
}
Expand Down

0 comments on commit d34fd07

Please sign in to comment.