aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-04-17 22:53:03 +0000
committerAdam Soltys <[email protected]>2023-04-17 22:53:14 +0000
commitb8d9bdcca9424942c8cc60a9d797b632d9e03d55 (patch)
treea1c58b6b601c86a220f7b2afb8002c48d5f01e00
parent340dc253d49cd72a9922a4b9ee8ee3fa1de9658f (diff)
downloadcoinos-server-b8d9bdcca9424942c8cc60a9d797b632d9e03d55.tar.gz
coinos-server-b8d9bdcca9424942c8cc60a9d797b632d9e03d55.zip
maxfee in sats
-rw-r--r--routes/payments.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/payments.js b/routes/payments.js
index bd42ef59..e54b7091 100644
--- a/routes/payments.js
+++ b/routes/payments.js
@@ -76,7 +76,7 @@ export default {
r = await ln.pay({
bolt11: payreq.replace(/\s/g, "").toLowerCase(),
amount_msat: msatoshi ? undefined : `${amount}sats`,
- maxfee,
+ maxfee: `${maxfee}sats`,,
retry_for: 5
});
if (r.status !== "complete") fail("payment did not complete");