Skip to content
This repository was archived by the owner on Sep 9, 2023. It is now read-only.

Commit 37bcf4e

Browse files
committed
gemini: fixing lint errors
1 parent d8db1d4 commit 37bcf4e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

__tests__/exchanges/gemini-client.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ testClient({
6868
},
6969

7070
l2update: {
71-
done: function(spec, result, update, market) {
71+
done: function(spec, result, update) {
7272
const hasAsks = update.asks && update.asks.length > 0;
7373
const hasBids = update.bids && update.bids.length > 0;
7474
return hasAsks || hasBids;

src/exchanges/gemini-client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ class GeminiClient extends EventEmitter {
259259
// ex: '{"type":"heartbeat","socket_sequence":272}'
260260
/*
261261
A few notes on heartbeats and sequenceIds taken from the Gemini docs:
262-
- Ongoing order events are interspersed with heartbeats every five seconds
262+
- Ongoing order events are interspersed with heartbeats every five seconds
263263
- So you can easily ensure that you are receiving all of your WebSocket messages in the expected order without any gaps, events and heartbeats contain a special sequence number.
264264
- Your subscription begins - you receive your first event with socket_sequence set to a value of 0
265265
- For all further messages, each message - whether a heartbeat or an event - should increase this sequence number by one.

0 commit comments

Comments
 (0)