From 9f3502c7aee3b6c2d08b13be83a84b1a47425a31 Mon Sep 17 00:00:00 2001 From: Vladimir Li Date: Mon, 18 Jun 2018 17:07:17 -0400 Subject: [PATCH] backoff when wallet not unlocked --- network.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/network.c b/network.c index 9addfbf..53c13d3 100644 --- a/network.c +++ b/network.c @@ -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) {