mirror of https://github.com/embarklabs/embark.git
rename startProvider to startWeb3Provider
This commit is contained in:
parent
4c17aa9d40
commit
6c1d9d9b39
|
@ -17,7 +17,7 @@ class Provider {
|
|||
this.asyncMethods = {};
|
||||
}
|
||||
|
||||
startProvider(callback) {
|
||||
startWeb3Provider(callback) {
|
||||
const self = this;
|
||||
self.engine.addProvider(new RpcSubprovider({
|
||||
rpcUrl: self.web3Endpoint
|
||||
|
|
|
@ -298,7 +298,7 @@ class Engine {
|
|||
if (!provider) {
|
||||
return next();
|
||||
}
|
||||
provider.startProvider(next);
|
||||
provider.startWeb3Provider(next);
|
||||
}
|
||||
], function (err) {
|
||||
if (err) {
|
||||
|
|
Loading…
Reference in New Issue