Skip to content

Commit 6f36449

Browse files
committed
fix: fixed block tag
1 parent 85bad27 commit 6f36449

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/events/rewards/rewards.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ export class RewardsService {
295295
async getVaultsBalance(blockNumber: number) {
296296
const withdrawalVaultAddress = await this.lidoLocator.withdrawalVault({ blockTag: blockNumber });
297297
const withdrawalVaultBalance = await this.provider.getBalance(withdrawalVaultAddress, blockNumber);
298-
const rewardsVaultAddress = await this.lidoLocator.elRewardsVault();
298+
const rewardsVaultAddress = await this.lidoLocator.elRewardsVault({ blockTag: blockNumber });
299299
const rewardsVaultBalance = await this.provider.getBalance(rewardsVaultAddress, blockNumber);
300300
const elRewards = this.rewardsStorage.getElRewardsPerFrame();
301301
const clRewards = this.rewardsStorage.getClRewardsPerFrame();

0 commit comments

Comments
 (0)