diff --git a/migrations/1620954224627-add-fee-priority.js b/migrations/1620954224627-add-fee-priority.js deleted file mode 100644 index fd8c81f4..00000000 --- a/migrations/1620954224627-add-fee-priority.js +++ /dev/null @@ -1,21 +0,0 @@ -const _ = require('lodash/fp') -const { migrationSaveConfig, loadLatest } = require('../lib/new-settings-loader') -const { getCryptosFromWalletNamespace } = require('../lib/new-config-manager') - -exports.up = function (next) { - const newConfig = {} - return loadLatest() - .then(config => { - const coins = getCryptosFromWalletNamespace(config) - _.map(coin => { newConfig[`wallets_${coin}_feeMultiplier`] = '1' }, coins) - return migrationSaveConfig(newConfig) - }) - .then(next) - .catch(err => { - return next(err) - }) -} - -module.exports.down = function (next) { - next() -}