load coins from config
This commit is contained in:
parent
564895ea22
commit
1a10c3aba8
3 changed files with 4 additions and 2 deletions
1
bin/ssu
1
bin/ssu
|
|
@ -139,6 +139,7 @@ function crypto () {
|
|||
ticker: tickerPlugin,
|
||||
transfer: walletPlugin
|
||||
}
|
||||
config.exchanges.settings.coins = ['BTC', code]
|
||||
return db.none('update user_config set data=$1 where type=$2', [config, 'exchanges'])
|
||||
})
|
||||
.then(function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue