Skip to content

Commit 434ccea

Browse files
authored
Apply suggestions from code review
1 parent b1e4632 commit 434ccea

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

contracts/scripts/keeperBot.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -486,8 +486,6 @@ async function main() {
486486
}
487487

488488
let disputesWithoutJurors = await filterAsync(disputes, async (dispute) => {
489-
console.log(dispute.id);
490-
console.log(dispute.currentRoundIndex);
491489
return !(await isDisputeFullyDrawn(dispute));
492490
});
493491

@@ -564,11 +562,11 @@ async function main() {
564562

565563
logger.info(`Current phase: ${PHASES[getNumber(await sortition.phase())]}`);
566564

567-
for (var disputeDetails of disputes) {
565+
for (var dispute of disputes) {
568566
// ----------------------------------------------- //
569567
// PASS PERIOD //
570568
// ----------------------------------------------- //
571-
await passPeriod(disputeDetails);
569+
await passPeriod(dispute);
572570
}
573571

574572
// Get all the disputes whose ruling is not yet executed

0 commit comments

Comments
 (0)