aboutsummaryrefslogtreecommitdiffstats
path: root/addInvoice.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-01-05 18:39:30 -0800
committerAdam Soltys <[email protected]>2020-01-05 18:39:30 -0800
commitb0e279aff714164a01ece9d2d933e4649d3ad48c (patch)
tree2ceabc01f0e8f3f54e4f91ec4aed98bcc43c1488 /addInvoice.js
parent3b841f05921311cf149b7987d76738fcb053a52e (diff)
downloadcoinos-server-b0e279aff714164a01ece9d2d933e4649d3ad48c.tar.gz
coinos-server-b0e279aff714164a01ece9d2d933e4649d3ad48c.zip
queue on-chain payments
Diffstat (limited to 'addInvoice.js')
-rw-r--r--addInvoice.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/addInvoice.js b/addInvoice.js
index eca884dd..c7336e0f 100644
--- a/addInvoice.js
+++ b/addInvoice.js
@@ -18,7 +18,8 @@ module.exports = (app, db, lnb) => async (req, res) => {
amount,
currency: "CAD",
rate: app.get("rates").ask,
- tip
+ tip,
+ confirmed: true,
});
res.send(invoice);