Fixed self-select login sequence

In self-select mode, we only have pool wallet right after login.
This commit is contained in:
SChernykh 2020-08-25 16:17:48 +02:00
parent 72c8404d18
commit 5611ae9a30

View file

@ -65,7 +65,7 @@ public:
void setDiff(uint64_t diff); void setDiff(uint64_t diff);
inline bool isNicehash() const { return m_nicehash; } inline bool isNicehash() const { return m_nicehash; }
inline bool isValid() const { return m_size > 0 && m_diff > 0; } inline bool isValid() const { return (m_size > 0 && m_diff > 0) || !m_poolWallet.isEmpty(); }
inline bool setId(const char *id) { return m_id = id; } inline bool setId(const char *id) { return m_id = id; }
inline const Algorithm &algorithm() const { return m_algorithm; } inline const Algorithm &algorithm() const { return m_algorithm; }
inline const Buffer &seed() const { return m_seed; } inline const Buffer &seed() const { return m_seed; }