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() return loadLatest()
.then(config => { .then(config => {
return saveConfig(newConfig) return saveConfig(newConfig)
.then(() => next()) .then(next)
.catch(err => { .catch(err => {
console.log(err.message)
return next(err) return next(err)
}) })
}) })