Show actual worker difficulty in workers command

This commit is contained in:
SChernykh
2023-01-27 22:09:17 +01:00
parent dfa27016fd
commit 975679ef87
3 changed files with 34 additions and 16 deletions

View File

@@ -182,7 +182,7 @@ static void do_showpeers(p2pool* m_pool, const char* /* args */)
static void do_showworkers(p2pool* m_pool, const char* /* args */)
{
if (m_pool->stratum_server()) {
m_pool->stratum_server()->show_workers();
m_pool->stratum_server()->show_workers_async();
}
}