From b6eaad7663eec2a995cd4f399a4d8f8366e24166 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 1 May 2021 02:35:41 -0700 Subject: lightning fixed fee limit --- lib/send.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/send.js b/lib/send.js index 6952368c..12c3f5aa 100644 --- a/lib/send.js +++ b/lib/send.js @@ -55,7 +55,8 @@ send = async (amount, memo, hash, user) => { let m = await lna.sendPaymentSync({ amt: amount, payment_request: hash, - max_parts: 10 + max_parts: 10, + fee_limit: { fixed: 1000 }, }); if (m.payment_error) throw new Error(m.payment_error); -- cgit v1.2.3