We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeb9521 commit fee9be5Copy full SHA for fee9be5
federator/src/lib/Federator.js
@@ -13,9 +13,9 @@ module.exports = class Federator {
13
this.config = config;
14
this.logger = logger;
15
16
- //if (!utils.checkHttpsOrLocalhost(config.mainchain.host)) {
17
- // throw new Error(`Invalid host configuration, https or localhost required`);
18
- //}
+ if (!utils.checkHttpsOrLocalhost(config.mainchain.host)) {
+ throw new Error(`Invalid host configuration, https or localhost required`);
+ }
19
20
this.mainWeb3 = new Web3(config.mainchain.host);
21
this.sideWeb3 = new Web3(config.sidechain.host);
0 commit comments