Skip to content

Commit

Permalink
fix: code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarens2 committed Feb 10, 2025
1 parent 5c35014 commit 32e11b2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/common/sweep/sweep.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export class SweepService implements OnModuleInit {
const isElectraActivate = await this.consensusClientService.isElectraActivated(currentEpoch);
const consensusVersion = await this.getConsensusVersion();

console.log('consensusVersion', consensusVersion);
if (consensusVersion < 3 || !isElectraActivate) {
return this.getSweepDelayInEpochsPreElectra(indexedValidators, currentEpoch);
}
Expand Down
3 changes: 0 additions & 3 deletions src/waiting-time/waiting-time.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,6 @@ export class WaitingTimeService {

// time to find validators for exiting
const sweepingMean = this.validators.getSweepMeanEpochs();
const sweepingMean2 = calculateSweepingMean(totalValidators);

console.log(sweepingMean, sweepingMean2.toString());

// latestEpoch - epoch of last exiting validator in whole network
// potential exit epoch - will be from latestEpoch, add VEBO epochs, add sweeping mean
Expand Down

0 comments on commit 32e11b2

Please sign in to comment.