Skip to content

Commit

Permalink
lint++
Browse files Browse the repository at this point in the history
  • Loading branch information
toteki committed May 14, 2022
1 parent e1358eb commit 2a79406
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions x/leverage/keeper/grpc_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ func (q Querier) RegisteredTokens(
Registry: make([]types.Token, len(tokens)),
}

for i, t := range tokens {
resp.Registry[i] = t
}
copy(resp.Registry, tokens)

return resp, nil
}
Expand Down

0 comments on commit 2a79406

Please sign in to comment.