Skip to content
Snippets Groups Projects
Commit 8a824817 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

Fix: start PoW at zero

parent a29020a6
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,6 @@ process.on('message', function(stuff){ ...@@ -37,7 +37,6 @@ process.on('message', function(stuff){
var testsPerRound = Math.max(Math.round(testsPerSecond * cpu), 1); var testsPerRound = Math.max(Math.round(testsPerSecond * cpu), 1);
process.send({ found: false, testsPerSecond: testsPerSecond, testsPerRound: testsPerRound }); process.send({ found: false, testsPerSecond: testsPerSecond, testsPerRound: testsPerRound });
// Really start now // Really start now
block.nonce = 208320;
var testsCount = 0; var testsCount = 0;
if (nbZeros == 0) { if (nbZeros == 0) {
block.nonce = 0; block.nonce = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment