File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -544,7 +544,7 @@ async function main() {
544544 // Skip some disputes
545545 disputes = filterDisputesToSkip ( disputes ) ;
546546 disputesWithoutJurors = filterDisputesToSkip ( disputesWithoutJurors ) ;
547- for ( var dispute of disputes ) {
547+ for ( const dispute of disputes ) {
548548 logger . info ( `Dispute #${ dispute . id } , round #${ dispute . currentRoundIndex } , ${ dispute . period } period` ) ;
549549 }
550550 logger . info ( `Disputes needing more jurors: ${ disputesWithoutJurors . map ( ( dispute ) => dispute . id ) } ` ) ;
@@ -606,7 +606,7 @@ async function main() {
606606
607607 logger . info ( `Current phase: ${ PHASES [ getNumber ( await sortition . phase ( ) ) ] } ` ) ;
608608
609- for ( var dispute of disputes ) {
609+ for ( const dispute of disputes ) {
610610 // ----------------------------------------------- //
611611 // PASS PERIOD //
612612 // ----------------------------------------------- //
@@ -631,7 +631,7 @@ async function main() {
631631 ) ;
632632 logger . info ( `Disputes not fully executed: ${ unprocessedDisputesInExecution . map ( ( dispute ) => dispute . id ) } ` ) ;
633633
634- for ( var dispute of unprocessedDisputesInExecution ) {
634+ for ( const dispute of unprocessedDisputesInExecution ) {
635635 const { period } = await core . disputes ( dispute . id ) ;
636636 if ( period !== 4n ) {
637637 logger . info ( `Skipping dispute #${ dispute . id } because it is not in the execution period` ) ;
You can’t perform that action at this time.
0 commit comments