Skip to content

Commit

Permalink
Update UG-Miner.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
UselessGuru committed Oct 20, 2024
1 parent 1f23e1d commit 59f2b09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion UG-Miner.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,8 @@ Function MainLoop {
}

If ($Config.BalancesTrackerPollInterval -gt 0 -and $Variables.NewMiningStatus -ne "Idle") { Start-BalancesTracker } Else { Stop-BalancesTracker }
ElseIf ($Variables.NewMiningStatus -ne "Idle" -and $Variables.RatesUpdated -lt [DateTime]::Now.ToUniversalTime().AddMinutes( - 15)) {

If ($Variables.NewMiningStatus -ne "Idle" -and $Variables.RatesUpdated -lt [DateTime]::Now.ToUniversalTime().AddMinutes( - 15)) {
# Update rates every 15 minutes
[Void](Get-Rate)
}
Expand Down

0 comments on commit 59f2b09

Please sign in to comment.