chore: fix all lint issue since golangci-lint bump (#21326)
This commit is contained in:
@@ -114,5 +114,5 @@ func TestSlashingMsgs(t *testing.T) {
|
||||
headerInfo = header.Info{Height: app.LastBlockHeight() + 1}
|
||||
_, _, err = sims.SignCheckDeliver(t, txConfig, app.BaseApp, headerInfo, []sdk.Msg{unjailMsg}, "", []uint64{0}, []uint64{1}, false, false, priv1)
|
||||
require.Error(t, err)
|
||||
require.True(t, errors.Is(types.ErrValidatorNotJailed, err))
|
||||
require.True(t, errors.Is(err, types.ErrValidatorNotJailed))
|
||||
}
|
||||
|
||||
@@ -247,7 +247,7 @@ func (s *SystemUnderTest) AwaitUpgradeInfo(t *testing.T) {
|
||||
case err == nil:
|
||||
found = true
|
||||
case !os.IsNotExist(err):
|
||||
t.Fatalf(err.Error())
|
||||
t.Fatal(err.Error())
|
||||
}
|
||||
})
|
||||
time.Sleep(s.blockTime / 2)
|
||||
|
||||
Reference in New Issue
Block a user