minor fix

This commit is contained in:
Thrilok Kumar 2021-06-13 17:02:34 +05:30
parent f37a543b81
commit 229be643a0

View File

@ -18,7 +18,7 @@ abstract contract Helpers is DSMath, Basic {
IStakingRewardsFactory.StakingRewardsInfo memory stakingRewardsInfo =
stakingRewardsFactory.stakingRewardsInfoByStakingToken(stakingToken);
return IStakingRewards(stakingRewardsInfo.stakingRewards);
return stakingRewardsInfo.stakingRewards;
}
}