mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 14:58:01 +00:00
pool: use get_pool_user().
This commit is contained in:
parent
934c4f5f14
commit
0a4f71882c
@ -2180,7 +2180,7 @@ static void curses_print_status(void)
|
|||||||
opt_incognito ? "<incognito>" : pool->poolname,
|
opt_incognito ? "<incognito>" : pool->poolname,
|
||||||
pool->has_stratum ? "stratum" : (pool->has_gbt ? "GBT" : "longpoll"),
|
pool->has_stratum ? "stratum" : (pool->has_gbt ? "GBT" : "longpoll"),
|
||||||
pool->diff,
|
pool->diff,
|
||||||
opt_incognito ? "<incognito>" : pool->rpc_user);
|
get_pool_user(pool));
|
||||||
}
|
}
|
||||||
|
|
||||||
wclrtoeol(statuswin);
|
wclrtoeol(statuswin);
|
||||||
@ -4540,7 +4540,7 @@ updated:
|
|||||||
pool->quota,
|
pool->quota,
|
||||||
pool->prio,
|
pool->prio,
|
||||||
opt_incognito ? "<incognito>" : pool->poolname,
|
opt_incognito ? "<incognito>" : pool->poolname,
|
||||||
opt_incognito ? "<incognito>" : pool->rpc_user);
|
get_pool_user(pool));
|
||||||
wattroff(logwin, A_BOLD | A_DIM);
|
wattroff(logwin, A_BOLD | A_DIM);
|
||||||
}
|
}
|
||||||
retry:
|
retry:
|
||||||
|
Loading…
Reference in New Issue
Block a user