Skip to content

Commit

Permalink
fix: typo in examples/zaps.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Thabokani committed Jan 18, 2024
1 parent f269636 commit d5a6bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/zaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ import { LightningAddress } from "@getalby/lightning-tools";
// or manually (create an invoice and give it to the user to pay)
const invoice = await ln.zapInvoice(zapArgs); // generates a zap invoice
console.log(invoice.paymentRequest); // print the payment request
await invoice.isPaid(); // check the payment status as descibed above
await invoice.isPaid(); // check the payment status as described above
}
})();

0 comments on commit d5a6bfe

Please sign in to comment.