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