From e5bbb98e947684cb8bebd3455a1b8f9921b6b853 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 7 Nov 2024 22:34:32 -0800 Subject: adjust default maxfee --- src/routes/(app)/send/lightning/[payreq]/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/routes/(app)/send/lightning/[payreq]/+page.svelte b/src/routes/(app)/send/lightning/[payreq]/+page.svelte index ac5c9bec..659b0e51 100644 --- a/src/routes/(app)/send/lightning/[payreq]/+page.svelte +++ b/src/routes/(app)/send/lightning/[payreq]/+page.svelte @@ -32,7 +32,7 @@ }; $: amount = form?.amount || data.amount; - $: maxfee = Math.round(amount * 0.01) || 1; + $: maxfee = Math.max(5, Math.round(amount * 0.005)); let showMax; let loading; -- cgit v1.2.3