chore: fix all lint issue since golangci-lint bump (#21326)

This commit is contained in:
Julien Robert
2024-08-16 13:03:24 +00:00
committed by GitHub
parent 825e81b688
commit 6276b015bb
20 changed files with 37 additions and 28 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ func (k Keeper) JailUntil(ctx context.Context, consAddr sdk.ConsAddress, jailTim
if err != nil {
return types.ErrNoSigningInfoFound.Wrapf("could not convert consensus address to string. Error: %s", err.Error())
}
return types.ErrNoSigningInfoFound.Wrapf(fmt.Sprintf("cannot jail validator with consensus address %s that does not have any signing information", addr))
return types.ErrNoSigningInfoFound.Wrapf("cannot jail validator with consensus address %s that does not have any signing information", addr)
}
signInfo.JailedUntil = jailTime