fix provider

This commit is contained in:
Jonathan Rainville 2018-07-06 15:30:16 -04:00 committed by Iuri Matias
parent a81ed322d1
commit 2424408b18
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ class Test {
return callback(err); return callback(err);
} }
self.provider = new Provider(providerOptions);
return self.provider.startWeb3Provider((err) => { return self.provider.startWeb3Provider((err) => {
if (err) { if (err) {
return callback(err); return callback(err);