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 = {};
|
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
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue