From 7199b0f72b34e630e358f15f1a9351a58fa3008b Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 8 Nov 2024 22:06:10 +0000 Subject: logging --- lib/payments.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/payments.ts') 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); }; -- cgit v1.2.3