From d83825eedf6b646f5b52873151c5596bfa492835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Oliveira?= Date: Thu, 20 May 2021 23:11:56 +0100 Subject: [PATCH] refactor: remove console log and improve BN usage --- migrations/1620954224627-add-fee-priority.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/migrations/1620954224627-add-fee-priority.js b/migrations/1620954224627-add-fee-priority.js index ebd630b1..37cce0e9 100644 --- a/migrations/1620954224627-add-fee-priority.js +++ b/migrations/1620954224627-add-fee-priority.js @@ -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() -} \ No newline at end of file +}