Skip to content

Commit

Permalink
Fixing get balance method.
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-silva-funttastic committed Sep 20, 2023
1 parent c142655 commit 3e17392
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/connectors/kujira/kujira.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1305,9 +1305,9 @@ export class Kujira {
let partialResponse: JsonObject;

while (
(!partialResponse ||
partialResponse.orders.length >=
KujiraConfig.config.orders.open.paginationLimit) &&
partialResponse &&
partialResponse.orders.length >=
KujiraConfig.config.orders.open.paginationLimit &&
response.orders.length <= KujiraConfig.config.orders.open.limit
) {
partialResponse = await this.kujiraQueryClientWasmQueryContractSmart(
Expand Down

0 comments on commit 3e17392

Please sign in to comment.