From 59f2b098c56b7d5676a18f17ef24becad2aa5547 Mon Sep 17 00:00:00 2001 From: Useless Guru <30080938+UselessGuru@users.noreply.github.com> Date: Sun, 20 Oct 2024 21:52:28 +0200 Subject: [PATCH] Update UG-Miner.ps1 --- UG-Miner.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UG-Miner.ps1 b/UG-Miner.ps1 index ee6ae7cd..dac3f9d3 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) }