diff options
| author | Adam Soltys <[email protected]> | 2023-12-18 17:08:14 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-12-18 17:08:14 +0000 |
| commit | 48fd5545bfa4417e09923e2437316466608a4c24 (patch) | |
| tree | b9cccc23a20f341566c1c2e284a1ae35b9d99ab5 /lib/payments.js | |
| parent | 74d0ea356c9cdf5b393d4260c1c299c3aaac7ed6 (diff) | |
| download | coinos-server-48fd5545bfa4417e09923e2437316466608a4c24.tar.gz coinos-server-48fd5545bfa4417e09923e2437316466608a4c24.zip | |
logging
Diffstat (limited to 'lib/payments.js')
| -rw-r--r-- | lib/payments.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/payments.js b/lib/payments.js index e7674f4e..dbc1e254 100644 --- a/lib/payments.js +++ b/lib/payments.js @@ -236,7 +236,6 @@ export let payLightning = async (user, payreq, amount, maxfee, memo) => { if (amount < 0 || amount > SATS || isNaN(amount)) fail("Invalid amount"); } - let total = amount; let { amount_msat, payment_hash } = await ln.decode(payreq); if (amount_msat) total = Math.round(amount_msat / 1000); |
