File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -544,7 +544,7 @@ async function main() {
544
544
// Skip some disputes
545
545
disputes = filterDisputesToSkip ( disputes ) ;
546
546
disputesWithoutJurors = filterDisputesToSkip ( disputesWithoutJurors ) ;
547
- for ( var dispute of disputes ) {
547
+ for ( const dispute of disputes ) {
548
548
logger . info ( `Dispute #${ dispute . id } , round #${ dispute . currentRoundIndex } , ${ dispute . period } period` ) ;
549
549
}
550
550
logger . info ( `Disputes needing more jurors: ${ disputesWithoutJurors . map ( ( dispute ) => dispute . id ) } ` ) ;
@@ -606,7 +606,7 @@ async function main() {
606
606
607
607
logger . info ( `Current phase: ${ PHASES [ getNumber ( await sortition . phase ( ) ) ] } ` ) ;
608
608
609
- for ( var dispute of disputes ) {
609
+ for ( const dispute of disputes ) {
610
610
// ----------------------------------------------- //
611
611
// PASS PERIOD //
612
612
// ----------------------------------------------- //
@@ -631,7 +631,7 @@ async function main() {
631
631
) ;
632
632
logger . info ( `Disputes not fully executed: ${ unprocessedDisputesInExecution . map ( ( dispute ) => dispute . id ) } ` ) ;
633
633
634
- for ( var dispute of unprocessedDisputesInExecution ) {
634
+ for ( const dispute of unprocessedDisputesInExecution ) {
635
635
const { period } = await core . disputes ( dispute . id ) ;
636
636
if ( period !== 4n ) {
637
637
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