diff --git a/UG-Miner.ps1 b/UG-Miner.ps1 index ee6ae7c..dac3f9d 100644 --- a/UG-Miner.ps1 +++ b/UG-Miner.ps1 @@ -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) }