diff --git a/finality-provider/store/fpstore_test.go b/finality-provider/store/fpstore_test.go index 62d842e9..1b2b3a55 100644 --- a/finality-provider/store/fpstore_test.go +++ b/finality-provider/store/fpstore_test.go @@ -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)