diff options
| author | Adam Soltys <[email protected]> | 2021-05-01 02:35:41 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-05-01 02:35:41 -0700 |
| commit | b6eaad7663eec2a995cd4f399a4d8f8366e24166 (patch) | |
| tree | cb15a64056fdb56a2ae537e002a10b7003ede59c | |
| parent | 01e85e75fa5c7de4b730d7dc440652a295703dba (diff) | |
| download | coinos-server-b6eaad7663eec2a995cd4f399a4d8f8366e24166.tar.gz coinos-server-b6eaad7663eec2a995cd4f399a4d8f8366e24166.zip | |
lightning fixed fee limit
| -rw-r--r-- | lib/send.js | 3 |
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); |
