Skip to content

Commit 13ea820

Browse files
committed
Data provider: fix typo
1 parent 660b4cb commit 13ea820

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

apps/ftso-data-provider/src/ftso-data-provider.service.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class FtsoDataProviderService {
3838
private readonly priceProviderClient: Api<unknown>;
3939
private readonly votingRoundToRevealData: LRUCache<number, IRevealData>;
4040

41-
private readonly rewardEpochManger: RewardEpochManager;
41+
private readonly rewardEpochManager: RewardEpochManager;
4242
private readonly dataManager: DataManager;
4343
private readonly encodingUtils = EncodingUtils.instance;
4444

@@ -49,9 +49,9 @@ export class FtsoDataProviderService {
4949
const required_history_sec = configService.get<number>("required_indexer_history_time_sec");
5050
this.indexer_top_timeout = configService.get<number>("indexer_top_timeout");
5151
this.indexerClient = new IndexerClient(manager, required_history_sec);
52-
this.rewardEpochManger = new RewardEpochManager(this.indexerClient);
52+
this.rewardEpochManager = new RewardEpochManager(this.indexerClient);
5353
this.priceProviderClient = new Api({ baseURL: configService.get<string>("price_provider_url") });
54-
this.dataManager = new DataManager(this.indexerClient, this.rewardEpochManger, this.logger);
54+
this.dataManager = new DataManager(this.indexerClient, this.rewardEpochManager, this.logger);
5555
this.votingRoundToRevealData = new LRUCache({
5656
max: configService.get<number>("voting_round_history_size"),
5757
});
@@ -63,7 +63,7 @@ export class FtsoDataProviderService {
6363
votingRoundId: number,
6464
submissionAddress: string
6565
): Promise<IPayloadMessage<ICommitData> | undefined> {
66-
const rewardEpoch = await this.rewardEpochManger.getRewardEpoch(votingRoundId);
66+
const rewardEpoch = await this.rewardEpochManager.getRewardEpoch(votingRoundId);
6767
const revealData = await this.getPricesForEpoch(votingRoundId, rewardEpoch.canonicalFeedOrder);
6868
this.logger.debug(
6969
`Getting commit for voting round ${votingRoundId}: ${submissionAddress} ${revealData.random} ${revealData.encodedValues}`

0 commit comments

Comments
 (0)