aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-10-21 13:16:36 -0700
committerAdam Soltys <[email protected]>2022-10-25 13:55:32 -0700
commit6128d0ef6cd994807e6b30420be0874f1a8e94ef (patch)
tree7d411bd0946816e36f7eda7352c68c232ae33145
parent38f284d3781ad1a49c7dd8b32a7e7b67560a3835 (diff)
downloadcoinos-server-6128d0ef6cd994807e6b30420be0874f1a8e94ef.tar.gz
coinos-server-6128d0ef6cd994807e6b30420be0874f1a8e94ef.zip
don't set invoice id for asset payment
-rw-r--r--routes/assets.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/routes/assets.js b/routes/assets.js
index de539946..ed0d3036 100644
--- a/routes/assets.js
+++ b/routes/assets.js
@@ -275,7 +275,6 @@ app.post("/assets", auth, async (req, res) => {
{
account_id: account.id,
user_id,
- invoice_id: invoice.id,
hash: txid,
amount: -Math.round(params.asset_amount * SATS),
received: false,