aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-05-01 02:35:41 -0700
committerAdam Soltys <[email protected]>2021-05-01 02:35:41 -0700
commitb6eaad7663eec2a995cd4f399a4d8f8366e24166 (patch)
treecb15a64056fdb56a2ae537e002a10b7003ede59c /lib
parent01e85e75fa5c7de4b730d7dc440652a295703dba (diff)
downloadcoinos-server-b6eaad7663eec2a995cd4f399a4d8f8366e24166.tar.gz
coinos-server-b6eaad7663eec2a995cd4f399a4d8f8366e24166.zip
lightning fixed fee limit
Diffstat (limited to 'lib')
-rw-r--r--lib/send.js3
1 files changed, 2 insertions, 1 deletions
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);