diff options
| author | Adam Soltys <[email protected]> | 2024-01-29 15:23:09 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-01-29 15:23:09 -0800 |
| commit | e879b16e5f7f3f6ffae86d3eaa208991e574f5fc (patch) | |
| tree | c7c09cde4640d95a008f86594d32e1344291a982 /lib | |
| parent | 58f58fc95213538b69570d5f39612743d5f5ddb0 (diff) | |
| download | coinos-server-e879b16e5f7f3f6ffae86d3eaa208991e574f5fc.tar.gz coinos-server-e879b16e5f7f3f6ffae86d3eaa208991e574f5fc.zip | |
rm log
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/payments.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/payments.js b/lib/payments.js index bfce3db8..461b07c1 100644 --- a/lib/payments.js +++ b/lib/payments.js @@ -222,7 +222,6 @@ export let autowithdraw = async (user) => { let to = destination.trim(); let balance = await g(`balance:${id}`); let amount = balance - reserve; - console.log("AMT", amount, balance, reserve); if (balance > threshold) await pay({ amount, to, user }); } } catch (e) { @@ -242,7 +241,7 @@ let pay = async ({ amount, to, user }) => { ).toString(); } - let maxfee = getMaxFee(amount); + let maxfee = getMaxFee(amount); if (lnurl) { amount -= maxfee; let { callback } = await got(lnurl).json(); |
