Skip to content

Commit

Permalink
fix cw query for leverage max borrow (#2116)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsk967 authored Jun 27, 2023
1 parent 8505c7f commit ec18ed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/wasm/query/handle_leverage.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,6 @@ func (q UmeeQuery) HandleMaxBorrow(
ctx context.Context,
qs lvtypes.QueryServer,
) (proto.Message, error) {
req := &lvtypes.QueryMaxBorrow{Address: q.MaxBorrow.Address, Denom: q.MaxBorrow.Address}
req := &lvtypes.QueryMaxBorrow{Address: q.MaxBorrow.Address, Denom: q.MaxBorrow.Denom}
return qs.MaxBorrow(ctx, req)
}

0 comments on commit ec18ed4

Please sign in to comment.