Skip to content

Commit

Permalink
fix secure pool with dstm
Browse files Browse the repository at this point in the history
  • Loading branch information
Quake4 committed Jan 24, 2018
1 parent 2fd333f commit 4d0dfbd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Code/Config.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Config : BaseConfig {
static [int] $Processors = 0
static [int] $Cores = 0
static [int] $Threads = 0
static [string] $Version = "v0.40"
static [string] $Version = "v0.41"
static [string] $BinLocation = "Bin"
static [eMinerType[]] $ActiveTypes
static [string[]] $CPUFeatures
Expand Down
10 changes: 4 additions & 6 deletions Miners/dstm-058.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@ $Cfg.Algorithms | ForEach-Object {
if ($Algo) {
# find pool by algorithm
$Pool = Get-Pool($Algo)

$proto = [string]::Empty
if ($Pool.Protocol -contains "ssl") {
$proto = "ssl://"
}

if ($Pool) {
$proto = [string]::Empty
if ($Pool.Protocol.Contains("ssl")) {
$proto = "ssl://"
}
[MinerInfo]@{
Pool = $Pool.PoolName()
PoolKey = $Pool.PoolKey()
Expand Down

0 comments on commit 4d0dfbd

Please sign in to comment.