diff options
| author | Adam Soltys <[email protected]> | 2024-11-08 22:06:10 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-11-09 00:45:42 +0000 |
| commit | 7199b0f72b34e630e358f15f1a9351a58fa3008b (patch) | |
| tree | ce6c1ace9980e162b33e8742415193fc298ab2c3 /lib/payments.ts | |
| parent | 6a6b9ab5b5292b51e2570eadb73e2e436c4f1117 (diff) | |
| download | coinos-server-7199b0f72b34e630e358f15f1a9351a58fa3008b.tar.gz coinos-server-7199b0f72b34e630e358f15f1a9351a58fa3008b.zip | |
logging
Diffstat (limited to 'lib/payments.ts')
| -rw-r--r-- | lib/payments.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/payments.ts b/lib/payments.ts index 0f55368f..0ae84f10 100644 --- a/lib/payments.ts +++ b/lib/payments.ts @@ -457,7 +457,6 @@ export const sendLightning = async ({ invstring: pr.replace(/\s/g, "").toLowerCase(), amount_msat: amount_msat ? undefined : amount * 1000, maxfee: maxfee ? maxfee * 1000 : 0, - retry_for: 10, }); try { @@ -737,7 +736,7 @@ const reverse = async (p) => { const ourfee = p.ourfee || 0; const credit = Math.round(total * config.fee) - ourfee; - const k = await db.reverse( + await db.reverse( `payment:${p.id}`, `balance:${p.uid}`, `credit:${types.lightning}:${p.uid}`, @@ -749,5 +748,5 @@ const reverse = async (p) => { p.hash, ); - warn("reversed", k); + warn("reversed", p.hash); }; |
