Skip to content

Commit 7fbaf92

Browse files
authored
Fix reconnection of futuresChart by vJoeyz
2 parents 8fb366c + b5e128c commit 7fbaf92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

node-binance-api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4987,7 +4987,7 @@ let api = function Binance( options = {} ) {
49874987
} else {
49884988
let symbol = symbols;
49894989
futuresChartInit( symbol );
4990-
subscription = futuresSubscribeSingle( symbol.toLowerCase() + '@kline_' + interval, handleFuturesKlineStream, reconnect );
4990+
subscription = futuresSubscribeSingle( symbol.toLowerCase() + '@kline_' + interval, handleFuturesKlineStream, { reconnect } );
49914991
getFuturesKlineSnapshot( symbol, limit );
49924992
}
49934993
return subscription.endpoint;

0 commit comments

Comments
 (0)