Skip to content

Commit

Permalink
feat: also reset fully if stopped manually
Browse files Browse the repository at this point in the history
  • Loading branch information
bradennapier committed May 28, 2024
1 parent dda8032 commit 880b19e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/orderBook/realTime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export class OrderBookRealTimeClient extends EventEmitter<{
this.unsubscribe();
this.webSocketClient.disconnect();
}
this.resetInternalState();
this.resetInternalState(true);
}

public async getMaximumTickSizeUnderSpread(market: string) {
Expand Down

0 comments on commit 880b19e

Please sign in to comment.