silence bluebird warning
This commit is contained in:
parent
26187cfa1d
commit
7d8dd02db1
|
@ -43,8 +43,10 @@ function __getAccounts(cb) {
|
||||||
if (__isNewWeb3_1()) {
|
if (__isNewWeb3_1()) {
|
||||||
web3.eth.getAccounts().then(function(accounts) {
|
web3.eth.getAccounts().then(function(accounts) {
|
||||||
cb(null, accounts);
|
cb(null, accounts);
|
||||||
|
return null;
|
||||||
}).catch(function(err) {
|
}).catch(function(err) {
|
||||||
cb(err);
|
cb(err);
|
||||||
|
return null;
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue