diff options
| author | Adam Soltys <[email protected]> | 2024-12-13 12:36:13 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-12-13 12:36:13 -0800 |
| commit | e88dc11d821fc363dd7305e3ebca34db1927988e (patch) | |
| tree | d8bb94c0afcc796551c4c9cb6f3f44ac32d506de /lib/nwc.ts | |
| parent | 80f753e981e5e32087f7b18345459c52c4ef5a25 (diff) | |
| download | coinos-server-e88dc11d821fc363dd7305e3ebca34db1927988e.tar.gz coinos-server-e88dc11d821fc363dd7305e3ebca34db1927988e.zip | |
keysend accept extratlvs
Diffstat (limited to 'lib/nwc.ts')
| -rw-r--r-- | lib/nwc.ts | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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++) { |
