Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayashsatolia403 committed Aug 16, 2023
1 parent 4528efb commit 5ec798c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/tokenomics_tests/blobber_challenge_reward_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ func assertChallengeRewardsForOneDelegateEach(t *test.SystemTest, allocationId s

t.Log("Moved to Challenge", allocation.MovedToChallenge)

totalExpectedReward := allocation.MovedToChallenge
totalExpectedReward := allocation.MovedToChallenge - allocation.MovedBack

challengeRewards, err := getAllAllocationChallengeRewards(t, allocationId)
require.Nil(t, err, "Error getting challenge rewards", strings.Join(output, "\n"))
Expand Down Expand Up @@ -444,7 +444,7 @@ func assertChallengeRewardsForTwoDelegatesEach(t *test.SystemTest, allocationId

t.Log(allocation.MovedToChallenge)

totalExpectedReward := float64(allocation.MovedToChallenge)
totalExpectedReward := float64(allocation.MovedToChallenge - allocation.MovedBack)

challengeRewards, err := getAllAllocationChallengeRewards(t, allocationId)
require.Nil(t, err, "Error getting challenge rewards", strings.Join(output, "\n"))
Expand Down

0 comments on commit 5ec798c

Please sign in to comment.