From 6c1d9d9b39f8f03f42d00e6361dc097e0aab10ff Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Fri, 18 May 2018 13:30:12 -0400 Subject: [PATCH] rename startProvider to startWeb3Provider --- lib/contracts/provider.js | 2 +- lib/core/engine.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/contracts/provider.js b/lib/contracts/provider.js index 04be7501..29b5ad2a 100644 --- a/lib/contracts/provider.js +++ b/lib/contracts/provider.js @@ -17,7 +17,7 @@ class Provider { this.asyncMethods = {}; } - startProvider(callback) { + startWeb3Provider(callback) { const self = this; self.engine.addProvider(new RpcSubprovider({ rpcUrl: self.web3Endpoint diff --git a/lib/core/engine.js b/lib/core/engine.js index 5885d27e..b41736e8 100644 --- a/lib/core/engine.js +++ b/lib/core/engine.js @@ -298,7 +298,7 @@ class Engine { if (!provider) { return next(); } - provider.startProvider(next); + provider.startWeb3Provider(next); } ], function (err) { if (err) {