refactor: remove console log and improve BN usage

This commit is contained in:
José Oliveira 2021-05-20 23:11:56 +01:00
parent eb33203d26
commit d83825eedf

View file

@ -7,9 +7,8 @@ exports.up = function (next) {
return loadLatest()
.then(config => {
return saveConfig(newConfig)
.then(() => next())
.then(next)
.catch(err => {
console.log(err.message)
return next(err)
})
})
@ -17,4 +16,4 @@ exports.up = function (next) {
module.exports.down = function (next) {
next()
}
}