Skip to content

Commit

Permalink
fix: lint add errcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
RafilxTenfen committed Dec 6, 2024
1 parent dcc06f3 commit 7ca2ceb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x/incentive/keeper/reward_tracker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ func TestIncrementFinalityProviderPeriod(t *testing.T) {

// needs to add some voting power so it can calculate the amount of rewards per share
satsDelegated := math.NewInt(500)
k.AddDelegationSat(ctx, fp1, del1, satsDelegated)
err = k.AddDelegationSat(ctx, fp1, del1, satsDelegated)
require.NoError(t, err)

fp1EndedPeriod, err = k.IncrementFinalityProviderPeriod(ctx, fp1)
require.NoError(t, err)
Expand Down

0 comments on commit 7ca2ceb

Please sign in to comment.