diff options
| author | Adam Soltys <[email protected]> | 2020-09-16 23:05:14 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-09-16 23:05:14 -0700 |
| commit | 49883ffcf2b01f4ca85f87cd55ba17cc8d6aaea9 (patch) | |
| tree | eb3befe88898a91a153690729d025e5f339f4cbf /lib/account.js | |
| parent | 55a37c3a545928553d6a540431f6266cb24fa401 (diff) | |
| download | coinos-server-49883ffcf2b01f4ca85f87cd55ba17cc8d6aaea9.tar.gz coinos-server-49883ffcf2b01f4ca85f87cd55ba17cc8d6aaea9.zip | |
add account network, fix internal asset transfers
Diffstat (limited to 'lib/account.js')
| -rw-r--r-- | lib/account.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/account.js b/lib/account.js index 9355bd97..27ef830a 100644 --- a/lib/account.js +++ b/lib/account.js @@ -19,7 +19,7 @@ module.exports = async (asset, user) => { let ticker = asset.substr(0, 3).toUpperCase(); let precision = 8; - const assets = (await axios.get("https://assets.blockstream.info/")).data; + const assets = app.get('assets'); if (assets[asset]) { ({ domain, ticker, precision, name } = assets[asset]); |
