Skip to content

Commit

Permalink
sintecs error
Browse files Browse the repository at this point in the history
not "or": "||".
  • Loading branch information
denis-skripnik committed Jun 19, 2019
1 parent 4c86266 commit feb0483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js_modules/methods.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit feb0483

Please sign in to comment.