Skip to content

Commit

Permalink
fix: fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
egonspace committed May 16, 2024
1 parent 8402eed commit 1bddf95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wemix/rewards_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func TestDistributeRewards(t *testing.T) {
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
// Call the distributeRewards function
rewards, err := distributeRewards(tt.height, tt.rp, big.NewInt(defaultBriocheBlockReward), tt.fees)
rewards, err := distributeRewards(tt.height, tt.rp, defaultBriocheBlockReward, tt.fees)
rewardsString, _ := json.Marshal(rewards)
if string(rewardsString) != tt.want {
t.Errorf("distributeRewards() failed: %v, %v <-> %v", err, tt.want, string(rewardsString))
Expand Down

0 comments on commit 1bddf95

Please sign in to comment.