From 418c55851bd337d4d5cad85f97f18c0cde15017f Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Thu, 17 May 2018 15:45:43 -0400 Subject: [PATCH] remove warning when dev --- lib/contracts/provider.js | 4 ---- lib/core/engine.js | 1 - 2 files changed, 5 deletions(-) diff --git a/lib/contracts/provider.js b/lib/contracts/provider.js index 4f89b0e24..93a2746c6 100644 --- a/lib/contracts/provider.js +++ b/lib/contracts/provider.js @@ -8,7 +8,6 @@ class Provider { this.web3 = options.web3; this.accountsConfig = options.accountsConfig; this.logger = options.logger; - this.isDev = options.isDev; this.engine = new ProviderEngine(); this.asyncMethods = {}; @@ -26,9 +25,6 @@ class Provider { this.asyncMethods = { 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 diff --git a/lib/core/engine.js b/lib/core/engine.js index 18bb66823..ab9456646 100644 --- a/lib/core/engine.js +++ b/lib/core/engine.js @@ -283,7 +283,6 @@ class Engine { web3: this.web3, accountsConfig: this.config.contractsConfig.deployment.accounts, logger: this.logger, - isDev: this.isDev, web3Endpoint }; this.web3.setProvider(new Provider(providerOptions));