Skip to content
Snippets Groups Projects
Commit 89ebf164 authored by Éloïs's avatar Éloïs
Browse files

Merge branch '1.6' into 'stable/ws2p-v1.1-trymerge'

# Conflicts:
#   app/modules/prover/lib/engine.ts
parents d7fed2fd 7d26a9b4
No related branches found
No related tags found
2 merge requests!1222Add startup scripts,!1220Stable/ws2p v1.1 trymerge
......@@ -30,7 +30,6 @@ export class PowEngine {
}
async prove(stuff:any) {
if (this.cluster.hasProofPending) {
await this.cluster.cancelWork()
}
......@@ -41,10 +40,6 @@ export class PowEngine {
stuff.newPoW.conf.nbCores /= 2; // Make sure that only once each physical core is used (for Hyperthreading).
}
return await this.cluster.proveByWorkers(stuff)
}
cancel() {
return this.cluster.cancelWork()
}
setConf(value:any) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment