aboutsummaryrefslogtreecommitdiffstats
path: root/lib/nwc.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-12-13 12:36:13 -0800
committerAdam Soltys <[email protected]>2024-12-13 12:36:13 -0800
commite88dc11d821fc363dd7305e3ebca34db1927988e (patch)
treed8bb94c0afcc796551c4c9cb6f3f44ac32d506de /lib/nwc.ts
parent80f753e981e5e32087f7b18345459c52c4ef5a25 (diff)
downloadcoinos-server-e88dc11d821fc363dd7305e3ebca34db1927988e.tar.gz
coinos-server-e88dc11d821fc363dd7305e3ebca34db1927988e.zip
keysend accept extratlvs
Diffstat (limited to 'lib/nwc.ts')
-rw-r--r--lib/nwc.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/nwc.ts b/lib/nwc.ts
index 8961e8b0..626c7ed0 100644
--- a/lib/nwc.ts
+++ b/lib/nwc.ts
@@ -142,7 +142,7 @@ const handle = (method, params, user, ev) =>
},
async pay_keysend() {
- const { amount, pubkey } = params;
+ const { amount, pubkey, tlv_records: extratlvs } = params;
try {
const { payment_hash } = await sendKeysend({
@@ -150,6 +150,7 @@ const handle = (method, params, user, ev) =>
amount,
pubkey,
user,
+ extratlvs,
});
for (let i = 0; i < 10; i++) {