Skip to content

Commit

Permalink
fix: fix issues found by sonarcloud (cosmos#14081)
Browse files Browse the repository at this point in the history
Co-authored-by: Marko <marbar3778@yahoo.com>
  • Loading branch information
julienrbrt and tac0turtle committed Nov 30, 2022
1 parent 4a90621 commit e395e43
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion tools/rosetta/openapi/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>Rosetta API</title>
<link rel="stylesheet" type="text/css" href="//unpkg.com/swagger-ui-dist@3.25.0/swagger-ui.css">
<link rel="icon" type="image/png" href="//unpkg.com/swagger-ui-dist@3.25.0/favicon-16x16.png" />
<script src="//unpkg.com/swagger-ui-dist@3.25.0/swagger-ui-bundle.js"></script>
<script src="https://unpkg.com/swagger-ui-dist@3.25.0/swagger-ui-bundle.js" integrity="sha384-LayfYpTwEewV6vK80x7XxHevzp5lS9x3eH/rfMVR26RiPbwjOdH1r6CUTPfABavZ" crossorigin="anonymous"></script>
</head>

<body>
Expand Down
3 changes: 0 additions & 3 deletions tx/textual/valuerenderer/valuerenderer.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ func (r *Textual) GetFieldValueRenderer(fd protoreflect.FieldDescriptor) (ValueR
fd.Kind() == protoreflect.Int64Kind:
return NewIntValueRenderer(), nil

case fd.Kind() == protoreflect.StringKind:
return stringValueRenderer{}, nil

case fd.Kind() == protoreflect.EnumKind:
return NewEnumValueRenderer(fd), nil

Expand Down

0 comments on commit e395e43

Please sign in to comment.