From feb0483c98d71a2674f9b6e57d63fbb1f28a1472 Mon Sep 17 00:00:00 2001 From: denis-skripnik Date: Wed, 19 Jun 2019 22:57:37 +0700 Subject: [PATCH] sintecs error not "or": "||". --- js_modules/methods.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js_modules/methods.js b/js_modules/methods.js index 05b7dd7..ffd4ed2 100644 --- a/js_modules/methods.js +++ b/js_modules/methods.js @@ -2,7 +2,7 @@ var conf = require('../config.json'); let connect = {}; for (let blockchain in conf) { connect[blockchain] = require(conf[blockchain].lib); - if (blockchain === 'STEEM' or blockchain === 'whaleshares') { + if (blockchain === 'STEEM' || blockchain === 'whaleshares') { connect[blockchain].api.setOptions({ url: conf[blockchain].node}); } else { connect[blockchain].config.set('websocket',conf[blockchain].node);