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

Fix #318 Should only try to submit, doing non-blocking submission

parent 1b998510
No related branches found
No related tags found
No related merge requests found
......@@ -189,7 +189,11 @@ function Server (dbConf, overrideConf) {
try {
let block = yield that.BlockchainService.startGeneration();
if (block && shouldContinue) {
try {
yield that.singleWritePromise(block);
} catch (err) {
logger.warn('Proof-of-work self-submission: %s', err.message || err);
}
}
}
catch (e) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment