Skip to content

Commit

Permalink
add await
Browse files Browse the repository at this point in the history
  • Loading branch information
brittcyr committed May 16, 2024
1 parent 4a3f563 commit da1c113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts/client/src/accounts/openOrders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export class OpenOrders {

// Need to reload orderbooks because not all information about orders, like
// size, is stored on the open orders account.
this.market.loadOrderBook();
await this.market.loadOrderBook();

return this;
}
Expand Down

0 comments on commit da1c113

Please sign in to comment.