aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbun.lockbbin208567 -> 208510 bytes
-rw-r--r--lib/payments.ts4
-rw-r--r--package.json2
3 files changed, 3 insertions, 3 deletions
diff --git a/bun.lockb b/bun.lockb
index 9f5ddcd3..41ec4eac 100755
--- a/bun.lockb
+++ b/bun.lockb
Binary files differ
diff --git a/lib/payments.ts b/lib/payments.ts
index 55819c26..ab05f070 100644
--- a/lib/payments.ts
+++ b/lib/payments.ts
@@ -453,8 +453,8 @@ export const sendLightning = async ({
l("paying lightning invoice", pr.substr(-8), total, amount, maxfee);
- const r = await ln.pay({
- bolt11: pr.replace(/\s/g, "").toLowerCase(),
+ const r = await ln.renepay({
+ invstring: pr.replace(/\s/g, "").toLowerCase(),
amount_msat: amount_msat ? undefined : amount * 1000,
maxfee: maxfee ? maxfee * 1000 : undefined,
retry_for: 5,
diff --git a/package.json b/package.json
index 9fc9519e..d2cc9cae 100644
--- a/package.json
+++ b/package.json
@@ -22,7 +22,7 @@
"@noble/hashes": "^1.4.0",
"bech32": "^2.0.0",
"buffer-crc32": "^0.2.13",
- "clightning-client": "github:SimonVrouwe/lightning-client-js#2022-11-04_improve_doc",
+ "clightning-client": "github:asoltys/lightning-client-js#master",
"date-fns": "^2.21.3",
"fastify": "^4.28.1",
"file-type": "^18.0.0",