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

HotFix: restart PoW on block validation

parent 934e39b6
No related branches found
No related tags found
No related merge requests found
......@@ -182,6 +182,7 @@ function BlockchainService (conf, mainDAL, pair) {
}
let res = yield mainContext.addBlock(obj, doCheck);
yield pushStatsForBlocks([res]);
yield Q.nfcall(that.stopPoWThenProcessAndRestartPoW.bind(that));
return res;
} else {
// add it as side chain
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment