feat: use lamassu-coins to display crypto units options
This commit is contained in:
parent
168257bcc4
commit
2ff160cc68
3 changed files with 17 additions and 12 deletions
|
|
@ -2,11 +2,11 @@ const { saveConfig } = require('../lib/new-settings-loader')
|
|||
|
||||
exports.up = function (next) {
|
||||
const cryptoUnits = {
|
||||
wallets_BTC_cryptoUnits: 'mUnits',
|
||||
wallets_ETH_cryptoUnits: 'mUnits',
|
||||
wallets_LTC_cryptoUnits: 'mUnits',
|
||||
wallets_ZEC_cryptoUnits: 'mUnits',
|
||||
wallets_BCH_cryptoUnits: 'mUnits'
|
||||
wallets_BTC_cryptoUnits: 'mili',
|
||||
wallets_ETH_cryptoUnits: 'mili',
|
||||
wallets_LTC_cryptoUnits: 'mili',
|
||||
wallets_ZEC_cryptoUnits: 'mili',
|
||||
wallets_BCH_cryptoUnits: 'mili'
|
||||
}
|
||||
|
||||
return saveConfig(cryptoUnits)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue