Skip to content

Commit 6a57916

Browse files
committed
fixup: Ignore height returned by pvm client's GetCurrentSupply
1 parent fbc671e commit 6a57916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/e2e/p/staking_rewards.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ var _ = ginkgo.Describe("[Staking Rewards]", func() {
255255
require.Len(rewardBalances, len(rewardKeys))
256256

257257
ginkgo.By("determining expected validation and delegation rewards")
258-
currentSupply, err := pvmClient.GetCurrentSupply(e2e.DefaultContext(), constants.PrimaryNetworkID)
258+
currentSupply, _, err := pvmClient.GetCurrentSupply(e2e.DefaultContext(), constants.PrimaryNetworkID)
259259
require.NoError(err)
260260
calculator := reward.NewCalculator(rewardConfig)
261261
expectedValidationReward := calculator.Calculate(validationPeriod, weight, currentSupply)

0 commit comments

Comments
 (0)