Skip to content

Commit

Permalink
fix: fix the query for max withdraw
Browse files Browse the repository at this point in the history
  • Loading branch information
gsk967 committed Dec 6, 2024
1 parent 3407c72 commit bd79aa2
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 @@ -308,9 +308,7 @@ func (q Querier) MaxWithdraw(
} else {
// Denom not specified
for _, t := range q.GetAllRegisteredTokens(ctx) {
if !t.Blacklist {
denoms = append(denoms, t.BaseDenom)
}
denoms = append(denoms, t.BaseDenom)
}
}

Expand Down

0 comments on commit bd79aa2

Please sign in to comment.