remove warning when dev

This commit is contained in:
Jonathan Rainville 2018-05-17 15:45:43 -04:00
parent 372266418f
commit 418c55851b
2 changed files with 0 additions and 5 deletions

View File

@ -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

View File

@ -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));