Skip to content

Commit

Permalink
Update worker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sys-256 authored Jul 25, 2021
1 parent 9f5fb84 commit 935ce11
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
Expand Down

0 comments on commit 935ce11

Please sign in to comment.