Skip to content

Commit 891004a

Browse files
committed
docs: formatting
1 parent 3f52b1e commit 891004a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

contracts/scripts/keeperBot.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,10 @@ async function main() {
436436
numberOfMissingJurors = await getMissingJurors(dispute);
437437
} while (!numberOfMissingJurors.eq(0) && !maxDrawingTimePassed);
438438
}
439+
440+
// ----------------------------------------------- //
441+
// BACK TO STAKING PHASE //
442+
// ----------------------------------------------- //
439443
// At this point, either all disputes are fully drawn or max drawing time has passed
440444
let i = 0;
441445
while (!(await isPhaseStaking()) && i++ < 3) {
@@ -444,10 +448,6 @@ async function main() {
444448
}
445449
}
446450

447-
// ----------------------------------------------- //
448-
// STAKING PHASE //
449-
// ----------------------------------------------- //
450-
451451
await sendHeartbeat();
452452

453453
for (var dispute of disputes) {
@@ -537,7 +537,6 @@ async function main() {
537537
// ----------------------------------------------- //
538538
// EXECUTE DELAYED STAKES //
539539
// ----------------------------------------------- //
540-
541540
// delayedStakes = 1 + delayedStakeWriteIndex - delayedStakeReadIndex
542541
const delayedStakes = BigNumber.from(1)
543542
.add(await sortition.delayedStakeWriteIndex())

0 commit comments

Comments
 (0)