We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d80470 commit 9d6bdb2Copy full SHA for 9d6bdb2
1 file changed
src/Theories/CTs/CSR2.ts
@@ -230,12 +230,14 @@ class csr2Sim extends theoryClass<theory> {
230
|| this.recursionValue[1] === 0
231
) await this.buyVariablesFork();
232
if (this.lastPub < 500) this.updateMilestones();
233
- if (this.forcedPubRho == 1500 && this.maxRho >= 1495 && this.doContinuityFork) {
+ if (this.forcedPubRho == 1500 && this.maxRho >= 1497 && this.doContinuityFork) {
234
this.doContinuityFork = false;
235
const fork = this.copy();
236
fork.forcedPubRho = Infinity;
237
const res = await fork.simulate(this.getDataForCopy());
238
- this.bestRes = getBestResult(this.bestRes, res);
+ if (res.pubRho > 1500) {
239
+ this.bestRes = getBestResult(this.bestRes, res);
240
+ }
241
}
242
243
if (this.recursionValue[1] === 1 || this.strat !== "CSR2XL")
0 commit comments