mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-05 03:24:26 +00:00
Unlocking error on retry. Locking unnecessary anyway so remove it.
This commit is contained in:
parent
f94ca32dcf
commit
ba89a0a44f
2
main.c
2
main.c
@ -1474,7 +1474,6 @@ static void display_pools(void)
|
||||
immedok(logwin, true);
|
||||
updated:
|
||||
clear_logwin();
|
||||
pthread_mutex_lock(&curses_lock);
|
||||
for (i = 0; i < total_pools; i++) {
|
||||
pool = pools[i];
|
||||
|
||||
@ -1498,7 +1497,6 @@ retry:
|
||||
wprintw(logwin, "[A]dd pool [R]emove pool [D]isable pool [E]nable pool\n");
|
||||
wprintw(logwin, "[C]hange management strategy [S]witch pool [I]nformation\n");
|
||||
wprintw(logwin, "Or press any other key to continue\n");
|
||||
pthread_mutex_unlock(&curses_lock);
|
||||
input = getch();
|
||||
|
||||
if (!strncasecmp(&input, "a", 1)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user