aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/nwc.ts1
-rw-r--r--lib/payments.ts2
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/nwc.ts b/lib/nwc.ts
index 7b8dd8ca..791f18f5 100644
--- a/lib/nwc.ts
+++ b/lib/nwc.ts
@@ -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);