From f22dd9958cb6164fdaee441bbc3a28512caa09d1 Mon Sep 17 00:00:00 2001 From: div72 Date: Tue, 12 Dec 2023 12:34:18 +0300 Subject: [PATCH] diag: fix researcher mode check --- src/wallet/diagnose.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/diagnose.h b/src/wallet/diagnose.h index 4df1e972ea..3beff9c2bf 100644 --- a/src/wallet/diagnose.h +++ b/src/wallet/diagnose.h @@ -147,7 +147,7 @@ class Diagnose m_hasEligibleProjects = researcher->Id().Which() == GRC::MiningId::Kind::CPID; m_hasPoolProjects = researcher->Projects().ContainsPool(); - m_researcher_mode = !(configured_for_investor_mode || (!m_hasEligibleProjects && m_hasPoolProjects)); + m_researcher_mode = !(configured_for_investor_mode || (!m_hasEligibleProjects && !m_hasPoolProjects)); } /**