Skip to content

Commit

Permalink
backoff when wallet not unlocked
Browse files Browse the repository at this point in the history
  • Loading branch information
leevlad committed Jun 18, 2018
1 parent 7bdf42a commit 9f3502c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions network.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ int get_header_for_work(uint8_t *target, uint8_t *header) {
}

if (check_http_response(curl)) {
// Pause in order to prevent spamming the console
sleep_seconds(3);
return 1;
}
if (inBuf.len != 112) {
Expand Down

0 comments on commit 9f3502c

Please sign in to comment.