remove warning when dev
This commit is contained in:
parent
372266418f
commit
418c55851b
|
@ -8,7 +8,6 @@ class Provider {
|
||||||
this.web3 = options.web3;
|
this.web3 = options.web3;
|
||||||
this.accountsConfig = options.accountsConfig;
|
this.accountsConfig = options.accountsConfig;
|
||||||
this.logger = options.logger;
|
this.logger = options.logger;
|
||||||
this.isDev = options.isDev;
|
|
||||||
this.engine = new ProviderEngine();
|
this.engine = new ProviderEngine();
|
||||||
this.asyncMethods = {};
|
this.asyncMethods = {};
|
||||||
|
|
||||||
|
@ -26,9 +25,6 @@ class Provider {
|
||||||
this.asyncMethods = {
|
this.asyncMethods = {
|
||||||
eth_accounts: self.eth_accounts.bind(this)
|
eth_accounts: self.eth_accounts.bind(this)
|
||||||
};
|
};
|
||||||
if (this.isDev) {
|
|
||||||
this.logger.warn('You are using your own account in the develop environment. It might not be funded.');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// network connectivity error
|
// network connectivity error
|
||||||
|
|
|
@ -283,7 +283,6 @@ class Engine {
|
||||||
web3: this.web3,
|
web3: this.web3,
|
||||||
accountsConfig: this.config.contractsConfig.deployment.accounts,
|
accountsConfig: this.config.contractsConfig.deployment.accounts,
|
||||||
logger: this.logger,
|
logger: this.logger,
|
||||||
isDev: this.isDev,
|
|
||||||
web3Endpoint
|
web3Endpoint
|
||||||
};
|
};
|
||||||
this.web3.setProvider(new Provider(providerOptions));
|
this.web3.setProvider(new Provider(providerOptions));
|
||||||
|
|
Loading…
Reference in New Issue