Skip to content

Commit

Permalink
diag: fix researcher mode check
Browse files Browse the repository at this point in the history
  • Loading branch information
div72 committed Dec 12, 2023
1 parent 8477d94 commit f22dd99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/diagnose.h
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

/**
Expand Down

0 comments on commit f22dd99

Please sign in to comment.