Skip to content

Commit

Permalink
Update pkg/grpc/grpc.go
Browse files Browse the repository at this point in the history
Co-authored-by: Joonas Lehtimäki <[email protected]>
  • Loading branch information
kayano and jlehtimaki authored Jan 16, 2024
1 parent ae69b05 commit 88aa87f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/grpc/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,5 +244,6 @@ func LatestBlockHeight(ctx context.Context, cfg config.Config) (int64, error) {

func bondStatus(status staking.BondStatus) string {
statusWithoutPrefix, _ := strings.CutPrefix(status.String(), bondStatusPrefix)

Check failure on line 247 in pkg/grpc/grpc.go

View workflow job for this annotation

GitHub Actions / GolangCI Lint

[GolangCI Lint] pkg/grpc/grpc.go#L247

File is not `gofumpt`-ed with `-extra` (gofumpt)
Raw output
pkg/grpc/grpc.go:247: File is not `gofumpt`-ed with `-extra` (gofumpt)
	
return strings.ToLower(statusWithoutPrefix)
}

0 comments on commit 88aa87f

Please sign in to comment.