diff --git a/src/main/resources/web/js/worker.js b/src/main/resources/web/js/worker.js index 917f4e4..e25f936 100644 --- a/src/main/resources/web/js/worker.js +++ b/src/main/resources/web/js/worker.js @@ -32,7 +32,7 @@ function listenPoW(e) { }); if (Date.now() >= endTime) { - setTimeout(() => listenPoW(e), 1); + setTimeout(() => listenPoW(e), 0); return; } } while (!sha512(msg).startsWith("00000"));