diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 7a069b3..64319af 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,8 @@ +Version 4.4.11 +Release Date 2018-11-06 +Changes + Bugfix: Changed profit switch to check pools file on each check, Fixed + Version 4.4.11 Release Date 2018-11-06 Changes diff --git a/JJs_HashMonitor_mutley.ps1 b/JJs_HashMonitor_mutley.ps1 index 907d717..8c7b8f0 100644 --- a/JJs_HashMonitor_mutley.ps1 +++ b/JJs_HashMonitor_mutley.ps1 @@ -5,7 +5,7 @@ $startattempt = 0 Function Run-Miner { do { - $ver = '4.4.11' + $ver = '4.4.12' $debug = $false #$verbosePreferenc='Continue' $script:VerbosePreferenceDefault = 'silentlyContinue' @@ -2015,12 +2015,14 @@ Function Run-Miner { } else { if( ( $profitLiveCheckingEnabled -eq 'True' ) -and ($profitSwitching -eq 'True' ) ) { - refreshSTAK - foreach( $pool in $script:PoolsList.Keys ) { - if( $script:PoolsList.$pool.address | - sls "$( $script:ConnectedPool )" -ErrorAction SilentlyContinue ) { - #( ($script:PoolsList[ $pool ] ).address. $script:ConnectedPool ) { - Check-Profit-Stats @($pool) $script:minhashrate + if (read-Pools-File) { + refreshSTAK + foreach( $pool in $script:PoolsList.Keys ) { + if( $script:PoolsList.$pool.address | + sls "$( $script:ConnectedPool )" -ErrorAction SilentlyContinue ) { + #( ($script:PoolsList[ $pool ] ).address. $script:ConnectedPool ) { + Check-Profit-Stats @($pool) $script:minhashrate + } } }