Skip to content

Commit b5e128c

Browse files
committed
Fix reconnection of futuresChart
1 parent 28e1162 commit b5e128c

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
@@ -4918,7 +4918,7 @@ let api = function Binance( options = {} ) {
49184918
} else {
49194919
let symbol = symbols;
49204920
futuresChartInit( symbol );
4921-
subscription = futuresSubscribeSingle( symbol.toLowerCase() + '@kline_' + interval, handleFuturesKlineStream, reconnect );
4921+
subscription = futuresSubscribeSingle( symbol.toLowerCase() + '@kline_' + interval, handleFuturesKlineStream, { reconnect } );
49224922
getFuturesKlineSnapshot( symbol, limit );
49234923
}
49244924
return subscription.endpoint;

0 commit comments

Comments
 (0)