diff options
| author | Adam Soltys <[email protected]> | 2025-12-10 15:50:40 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-12-10 15:50:40 -0800 |
| commit | 4c3682b7dcc6fb77e94822756030f9aef430ee5e (patch) | |
| tree | 3eb7c6e91be21c8da2031260acf5551f7b1892d6 /src | |
| parent | 9f12b521c1e6a8097b8efa4d347f5112d5a1582f (diff) | |
| download | coinos-ui-4c3682b7dcc6fb77e94822756030f9aef430ee5e.tar.gz coinos-ui-4c3682b7dcc6fb77e94822756030f9aef430ee5e.zip | |
increase default maxfee
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/(app)/send/lightning/[payreq]/[...memo]/+page.svelte | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/(app)/send/lightning/[payreq]/[...memo]/+page.svelte b/src/routes/(app)/send/lightning/[payreq]/[...memo]/+page.svelte index a5cc168c..2b7c008a 100644 --- a/src/routes/(app)/send/lightning/[payreq]/[...memo]/+page.svelte +++ b/src/routes/(app)/send/lightning/[payreq]/[...memo]/+page.svelte @@ -28,9 +28,9 @@ let toggle = () => (show = !show); let amount = $derived(form?.amount || data.amount); let maxfee = $state( - Math.max(5, Math.round(untrack(() => amount) * 0.005 || 0)), + Math.max(5, Math.round(untrack(() => amount) * 0.02 || 0)), ); - $effect(() => (maxfee = Math.max(5, Math.round(amount * 0.005) || 0))); + $effect(() => (maxfee = Math.max(5, Math.round(amount * 0.02) || 0))); </script> <div class="container px-4 max-w-xl mx-auto text-center space-y-2"> |
