diff --git a/node-binance-api.js b/node-binance-api.js index 7400ee77..10cfeaf8 100644 --- a/node-binance-api.js +++ b/node-binance-api.js @@ -645,7 +645,7 @@ LIMIT_MAKER depthCache[symbol] = {bids: {}, asks: {}}; messageQueue[symbol] = []; let reconnect = function() { - if ( options.reconnect ) depthCacheFunction(symbol, callback); + if ( options.reconnect ) depthCacheFunction([symbol], callback); }; subscribe(symbol.toLowerCase()+'@depth', function(depth) { if ( !info[symbol].firstUpdateId ) {