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 () {
|
||||
|
|
|
|||
|
|
@ -90,7 +90,8 @@ function poll (req, res) {
|
|||
fiatTxLimit: settings.fiatTxLimit,
|
||||
reboot: reboot,
|
||||
rates: rates,
|
||||
balances: balances
|
||||
balances: balances,
|
||||
coins: settings.coins
|
||||
}
|
||||
|
||||
if (response.idVerificationEnabled) {
|
||||
|
|
|
|||
2
todo.txt
2
todo.txt
|
|
@ -30,5 +30,5 @@ alter table pending_transactions alter satoshis TYPE bigint;
|
|||
alter table bills add crypto_code text default 'BTC';
|
||||
alter table bills alter satoshis TYPE bigint;
|
||||
|
||||
- test against old server
|
||||
- remove debug
|
||||
- test trading
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue