Skip to content

Commit

Permalink
fix: lint add err check
Browse files Browse the repository at this point in the history
  • Loading branch information
RafilxTenfen committed Sep 18, 2024
1 parent 93eacf4 commit 093af6b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion finality-provider/store/fpstore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,9 @@ func TestUpdateFpStatusFromVotingPower(t *testing.T) {
fp.Pop.BtcSig,
)
require.NoError(t, err)
fps.SetFpStatus(fp.BtcPk, fp.Status)

err = fps.SetFpStatus(fp.BtcPk, fp.Status)
require.NoError(t, err)
}

actStatus, err := fps.UpdateFpStatusFromVotingPower(tc.votingPowerOnChain, fp)
Expand Down

0 comments on commit 093af6b

Please sign in to comment.