diff options
| author | Adam Soltys <[email protected]> | 2020-09-17 02:27:23 -0400 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-09-17 02:27:23 -0400 |
| commit | e17a16ed07868a012524869951ee956e95bdfc85 (patch) | |
| tree | c92398a661b225abace9925cf607a66b97437258 | |
| parent | 49883ffcf2b01f4ca85f87cd55ba17cc8d6aaea9 (diff) | |
| download | coinos-server-e17a16ed07868a012524869951ee956e95bdfc85.tar.gz coinos-server-e17a16ed07868a012524869951ee956e95bdfc85.zip | |
search custodial accounts only for asset issuance fee
| -rw-r--r-- | routes/assets.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routes/assets.js b/routes/assets.js index 2468b394..dca05ff5 100644 --- a/routes/assets.js +++ b/routes/assets.js @@ -104,6 +104,7 @@ app.post("/assets", auth, ah(async (req, res) => { where: { user_id, asset: config.liquid.btcasset, + pubkey: null, }, include: { model: db.User, @@ -139,6 +140,7 @@ app.post("/assets", auth, ah(async (req, res) => { precision, name, balance: 0, + network: 'liquid', pending: params.asset_amount * SATS, }, { transaction } |
