mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Include LNURL hint in NWC zap payments
This commit is contained in:
1 parent
be6162f5cd
commit
18ffde2147
3 files changed
+16
-3
No files matched your search
@@ -13,11 +13,13 @@ await (async () => {
|
||||
invoice: "bolt11-invoice",
|
||||
amountSats: 123,
|
||||
zapRequest: "zap-request-json",
|
||||
lnurl: " https://pay.example/lnurlp/test ",
|
||||
});
|
||||
|
||||
assert.equal(params.invoice, "bolt11-invoice");
|
||||
assert.equal(params.amount, 123_000);
|
||||
assert.equal(params.zap_request, "zap-request-json");
|
||||
assert.equal(params.lnurl, "https://pay.example/lnurlp/test");
|
||||
})();
|
||||
|
||||
await (async () => {
|
||||
|
||||
Reference in new issue
Block a user