From 9552ad0f310d5641f90610c04bdb123a105d2ee0 Mon Sep 17 00:00:00 2001 From: Jon Eyrick Date: Fri, 24 Nov 2017 13:20:44 -0800 Subject: [PATCH] recvWindow also sets timeout on signedRequest, etc --- node-binance-api.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/node-binance-api.js b/node-binance-api.js index 22666646..e93f25cc 100644 --- a/node-binance-api.js +++ b/node-binance-api.js @@ -18,10 +18,9 @@ module.exports = function() { let depthCache = {}; let ohlcLatest = {}; let klineQueue = {}; - let options = {}; let info = {}; let ohlc = {}; - let btcValue = 0.00; + let options = {recvWindow:60000}; const publicRequest = function(url, data, callback, method = "GET") { if ( !data ) data = {};