load coins from config

This commit is contained in:
Josh Harvey 2016-04-08 02:28:51 +01:00
parent 564895ea22
commit 1a10c3aba8
3 changed files with 4 additions and 2 deletions

View file

@ -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 () {