silence bluebird warning

This commit is contained in:
Iuri Matias 2018-05-11 15:59:18 -04:00
parent 235059684a
commit 8d79d5ec82
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}