aboutsummaryrefslogtreecommitdiffstats
path: root/payments.js
diff options
context:
space:
mode:
Diffstat (limited to 'payments.js')
-rw-r--r--payments.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/payments.js b/payments.js
index 10c3b541..c2d9d306 100644
--- a/payments.js
+++ b/payments.js
@@ -24,8 +24,10 @@ module.exports = async (app, auth, addresses, bc, db, emit, seen, payments) => {
require("./sendPayment")(app, db, emit, seen, lnaraw, lnb)
);
app.post("/payUser", auth, require("./payUser")(app, db, lna, lnb));
- app.post("/sendCoins", auth, require("./sendCoins")(app, bc, db, emit));
- app.post("/sendLiquid", auth, require("./sendLiquid")(app, db, emit));
+ app.post("/sendCoins", auth, require("./sendCoins")(addresses, app, bc, db, emit));
+ app.post("/estimateBitcoinFee", auth, require("./estimateBitcoinFee")(app, bc, db, emit));
+ app.post("/sendLiquid", auth, require("./sendLiquid")(addresses, app, db, emit));
+ app.post("/estimateLiquidFee", auth, require("./estimateLiquidFee")(app, db, emit));
app.post("/addInvoice", auth, require("./addInvoice")(app, db, lnb));
app.get("/payments", auth, async (req, res) => {
const payments = await db.Payment.findAll({