From e88dc11d821fc363dd7305e3ebca34db1927988e Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 13 Dec 2024 12:36:13 -0800 Subject: keysend accept extratlvs --- lib/nwc.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/nwc.ts') 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++) { -- cgit v1.2.3