v12.0.0 - initial commit
This commit is contained in:
commit
e2c49ea43c
1145 changed files with 97211 additions and 0 deletions
|
|
@ -0,0 +1,20 @@
|
|||
const uuid = require('uuid')
|
||||
const { saveConfig } = require('./settings')
|
||||
|
||||
exports.up = function (next) {
|
||||
const newConfig = {
|
||||
wallets_advanced_feeMultiplier: '1',
|
||||
wallets_advanced_cryptoUnits: 'full',
|
||||
wallets_advanced_allowTransactionBatching: false,
|
||||
wallets_advanced_id: uuid.v4(),
|
||||
}
|
||||
return saveConfig(newConfig)
|
||||
.then(next)
|
||||
.catch(err => {
|
||||
return next(err)
|
||||
})
|
||||
}
|
||||
|
||||
module.exports.down = function (next) {
|
||||
next()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue