From b8d9bdcca9424942c8cc60a9d797b632d9e03d55 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 17 Apr 2023 22:53:03 +0000 Subject: maxfee in sats --- routes/payments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3