aboutsummaryrefslogtreecommitdiffstats
path: root/sendPayment.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 /sendPayment.js
parent3b841f05921311cf149b7987d76738fcb053a52e (diff)
downloadcoinos-server-b0e279aff714164a01ece9d2d933e4649d3ad48c.tar.gz
coinos-server-b0e279aff714164a01ece9d2d933e4649d3ad48c.zip
queue on-chain payments
Diffstat (limited to 'sendPayment.js')
-rw-r--r--sendPayment.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/sendPayment.js b/sendPayment.js
index ee2f2c90..c5ce7ea3 100644
--- a/sendPayment.js
+++ b/sendPayment.js
@@ -56,7 +56,8 @@ module.exports = (app, db, emit, seen, lna, lnb) => async (req, res) => {
user_id: req.user.id,
hash,
rate: app.get("ask"),
- currency: "CAD"
+ currency: "CAD",
+ confirmed: true
},
{ transaction }
);