Skip to content

Commit

Permalink
Fix type conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayashsatolia403 committed Aug 9, 2023
1 parent 8030878 commit ada285f
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 @@ -332,7 +332,7 @@ func waitUntilAllocationIsFinalized(t *test.SystemTest, allocationID string) {
}
}

func assertChallengeRewardsForOneDelegateEach(t *test.SystemTest, allocationId string, blobberListString, validatorListString []string, filesize int64) {
func assertChallengeRewardsForOneDelegateEach(t *test.SystemTest, allocationId string, blobberListString, validatorListString []string, filesize float64) {
t.Cleanup(func() {
waitUntilAllocationIsFinalized(t, allocationId)
})
Expand All @@ -351,7 +351,7 @@ func assertChallengeRewardsForOneDelegateEach(t *test.SystemTest, allocationId s
remotepath := "/dir/"
filename := utils.GenerateRandomTestFileName(t)

err := utils.CreateFileWithSize(filename, filesize)
err := utils.CreateFileWithSize(filename, int64(filesize))
require.Nil(t, err)

output, err := utils.UploadFile(t, configPath, map[string]interface{}{
Expand Down

0 comments on commit ada285f

Please sign in to comment.