Skip to content

Commit

Permalink
Merge pull request #179 from getAlby/chore/list-transactions-example
Browse files Browse the repository at this point in the history
chore: minor changes in list transactions example
  • Loading branch information
rolznz authored Jan 5, 2024
2 parents 9e6c9ab + 7397c16 commit 9412d1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/nwc/list-transactions.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ const response = await webln.listTransactions({
until: Math.ceil(new Date().getTime() / 1000),
limit: 30,
// type: "incoming",
// unpaid: true,
});

console.info(
response.transactions.length + "transactions, ",
response.transactions.length + " transactions, ",
response.transactions.filter((t) => t.type === "incoming").length +
" incoming",
response,
Expand Down

0 comments on commit 9412d1a

Please sign in to comment.