From 935ce11400d7fae39eaf1f9bc6e4ce25642ca2c3 Mon Sep 17 00:00:00 2001 From: Bram <84628826+sys-256@users.noreply.github.com> Date: Sun, 25 Jul 2021 13:35:00 +0200 Subject: [PATCH] Update worker.js --- worker.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/worker.js b/worker.js index cee0dc5..fcaddb2 100644 --- a/worker.js +++ b/worker.js @@ -74,7 +74,9 @@ onmessage = function (event) //shows the hashrate in the console console.log("CPU" + workerVer + ": The hashrate is " + hashrate + " H/s. Sending the result back to the server..."); //sends the result to the server - socket.send(result + "," + hashrate + ",Duino-JS v2.1 by Hoiboy19," + rigid) + socket.send(result + "," + hashrate + ",Duino-JS v3.2 by sys-256," + rigid) + //breaks the script so it stops calculating the other possible hashes + break; } } }