aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/nwc.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nwc.ts b/lib/nwc.ts
index f3416f2e..0cbced1f 100644
--- a/lib/nwc.ts
+++ b/lib/nwc.ts
@@ -103,7 +103,7 @@ const handle = (method, params, user) =>
}
await sendLightning({
amount,
- maxfee: undefined,
+ maxfee: Math.max(5, Math.round(amount * 0.005)),
user,
pr,
});