From 74666c45287cd59c3726bd802935e65421776f89 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 7 Nov 2024 22:30:24 -0800 Subject: default maxfee for nwc --- lib/nwc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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, }); -- cgit v1.2.3