From 5d559971ca02c1439747098878fdef7b0b152764 Mon Sep 17 00:00:00 2001 From: XMRig Date: Wed, 20 Nov 2019 15:36:02 +0700 Subject: [PATCH] Fixed isTLS method. --- src/base/net/stratum/Pool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/net/stratum/Pool.h b/src/base/net/stratum/Pool.h index ca375c076..509b3975c 100644 --- a/src/base/net/stratum/Pool.h +++ b/src/base/net/stratum/Pool.h @@ -72,7 +72,7 @@ public: ); inline bool isNicehash() const { return m_flags.test(FLAG_NICEHASH); } - inline bool isTLS() const { return m_flags.test(FLAG_TLS); } + inline bool isTLS() const { return m_flags.test(FLAG_TLS) || m_url.isTLS(); } inline bool isValid() const { return m_url.isValid(); } inline const Algorithm &algorithm() const { return m_algorithm; } inline const Coin &coin() const { return m_coin; }