Skip to content

Commit

Permalink
chore: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
freak12techno committed Dec 7, 2023
1 parent 83c765b commit f3a6865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func (q QueryError) Error() string {

sb.WriteString("All LCD requests failed:\n")
for index, nodeError := range q.NodeErrors {
sb.WriteString(fmt.Sprintf("#%d: %s -> %s\n", index+1, nodeError.Node, nodeError.Error))
sb.WriteString(fmt.Sprintf("#%d: %s -> %s\n", index+1, nodeError.Node, nodeError.Error.error))
}

Check warning on line 129 in pkg/types/types.go

View check run for this annotation

Codecov / codecov/patch

pkg/types/types.go#L124-L129

Added lines #L124 - L129 were not covered by tests

return sb.String()

Check warning on line 131 in pkg/types/types.go

View check run for this annotation

Codecov / codecov/patch

pkg/types/types.go#L131

Added line #L131 was not covered by tests
Expand Down

0 comments on commit f3a6865

Please sign in to comment.