We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcdffd2 commit 26f17f6Copy full SHA for 26f17f6
contracts/compressors/GaugeCompressor.sol
@@ -110,7 +110,7 @@ contract GaugeCompressor is IGaugeCompressor {
110
gaugeInfo.underlying = IPoolV3(pool).asset();
111
gaugeInfo.voter = IGaugeV3(gauge).voter();
112
113
- gaugeInfo.currentEpoch = IGearStakingV3(gauge).getCurrentEpoch();
+ gaugeInfo.currentEpoch = IGearStakingV3(gaugeInfo.voter).getCurrentEpoch();
114
gaugeInfo.epochLastUpdate = IGaugeV3(gauge).epochLastUpdate();
115
gaugeInfo.epochFrozen = IGaugeV3(gauge).epochFrozen();
116
0 commit comments