diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/nwc.ts | 1 | ||||
| -rw-r--r-- | lib/payments.ts | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -123,7 +123,6 @@ const handle = (method, params, user, ev) => } await sendLightning({ amount, - fee: Math.max(5, Math.round(amount * 0.005)), user, pr, }); diff --git a/lib/payments.ts b/lib/payments.ts index 1f00106e..7536d923 100644 --- a/lib/payments.ts +++ b/lib/payments.ts @@ -497,7 +497,7 @@ export const sendLightning = async ({ ? decoded.invoice_amount_msat : decoded.amount_msat; - fee = Math.max(parseInt(fee || 0), 5); + fee = Math.max(parseInt(fee || 0), 2); if (fee < 0) fail("Fee cannot be negative"); const { pays } = await ln.listpays(pr); |
