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; } } }