From 8d79d5ec821e76adcf375fc535c5b8514c36dfb7 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Fri, 11 May 2018 15:59:18 -0400 Subject: [PATCH] silence bluebird warning --- lib/contracts/code_templates/utils.js.ejs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/contracts/code_templates/utils.js.ejs b/lib/contracts/code_templates/utils.js.ejs index 25bb65fd4..1fa58f29a 100644 --- a/lib/contracts/code_templates/utils.js.ejs +++ b/lib/contracts/code_templates/utils.js.ejs @@ -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; }