rename startProvider to startWeb3Provider

This commit is contained in:
Jonathan Rainville 2018-05-18 13:30:12 -04:00
parent 4c17aa9d40
commit 6c1d9d9b39
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ class Provider {
this.asyncMethods = {}; this.asyncMethods = {};
} }
startProvider(callback) { startWeb3Provider(callback) {
const self = this; const self = this;
self.engine.addProvider(new RpcSubprovider({ self.engine.addProvider(new RpcSubprovider({
rpcUrl: self.web3Endpoint rpcUrl: self.web3Endpoint

View File

@ -298,7 +298,7 @@ class Engine {
if (!provider) { if (!provider) {
return next(); return next();
} }
provider.startProvider(next); provider.startWeb3Provider(next);
} }
], function (err) { ], function (err) {
if (err) { if (err) {