File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ export class MeanAggregator extends MultiRoundAggregator {
1616 */
1717 constructor ( roundCutoff = 0 , threshold = 1 , thresholdType ?: ThresholdType ) {
1818 super ( roundCutoff , threshold , thresholdType ) ;
19- super ( roundCutoff , threshold , thresholdType ) ;
2019 }
2120
2221 override _add ( nodeId : client . NodeID , contribution : WeightsContainer ) : void {
@@ -30,7 +29,6 @@ export class MeanAggregator extends MultiRoundAggregator {
3029 override aggregate ( ) : WeightsContainer {
3130 const currentContributions = this . contributions . get ( 0 ) ;
3231 if ( ! currentContributions ) throw new Error ( "aggregating without any contribution" ) ;
33- if ( ! currentContributions ) throw new Error ( "aggregating without any contribution" ) ;
3432
3533 this . log ( AggregationStep . AGGREGATE ) ;
3634
You can’t perform that action at this time.
0 commit comments