diff options
| author | Adam Soltys <[email protected]> | 2025-08-01 04:17:21 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-08-01 04:17:22 +0000 |
| commit | 2e9cded9d7d3fa0ce383680745fe633d052a4b79 (patch) | |
| tree | c1b17cc914f4d867a3e4e4e94f0579d2c227a689 | |
| parent | c1cd79795a5ac42e2a6071187ce8325ba355d4d4 (diff) | |
| download | coinos-server-2e9cded9d7d3fa0ce383680745fe633d052a4b79.tar.gz coinos-server-2e9cded9d7d3fa0ce383680745fe633d052a4b79.zip | |
increase autowithdraw maxfee
| -rw-r--r-- | lib/payments.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/payments.ts b/lib/payments.ts index 437db14f..655786fd 100644 --- a/lib/payments.ts +++ b/lib/payments.ts @@ -347,7 +347,7 @@ const pay = async ({ aid = undefined, amount, to, user }) => { sender: user, }); - const fee = Math.max(5, Math.round(amount * 0.005)); + const fee = Math.max(5, Math.round(amount * 0.02)); if (lnurl) { amount -= fee; const { callback } = (await got(lnurl).json()) as any; |
