Skip to content

Commit

Permalink
Linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-silva-funttastic committed Sep 22, 2023
1 parent 9128d48 commit 6b28ab5
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/connectors/kujira/kujira.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1306,26 +1306,26 @@ export class Kujira {

do {
partialResponse = await this.kujiraQueryClientWasmQueryContractSmart(
market.connectorMarket.address,
{
orders_by_user: {
address: ownerAddress,
limit: KujiraConfig.config.orders.open.limit,
start_after: partialResponse
? partialResponse.orders[
market.connectorMarket.address,
{
orders_by_user: {
address: ownerAddress,
limit: KujiraConfig.config.orders.open.limit,
start_after: partialResponse
? partialResponse.orders[
partialResponse.orders.length - 1
].idx.toString()
: null,
},
}
].idx.toString()
: null,
},
}
);

response.orders = [...response.orders, ...partialResponse.orders];
} while ((
partialResponse.orders.length >= KujiraConfig.config.orders.open.paginationLimit
) && (
response.orders.length <= KujiraConfig.config.orders.open.limit
));
} while (
partialResponse.orders.length >=
KujiraConfig.config.orders.open.paginationLimit &&
response.orders.length <= KujiraConfig.config.orders.open.limit
);

const bundles = IMap<string, any>().asMutable();

Expand Down

0 comments on commit 6b28ab5

Please sign in to comment.