Skip to content

Commit

Permalink
Merge pull request #460 from tnull/2025-02-add-missing-sendparams-param
Browse files Browse the repository at this point in the history
Add missing argument to `README` example
  • Loading branch information
tnull authored Feb 5, 2025
2 parents 8bfa8ec + 998e331 commit 21d8978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fn main() {
node.event_handled();

let invoice = Bolt11Invoice::from_str("INVOICE_STR").unwrap();
node.bolt11_payment().send(&invoice).unwrap();
node.bolt11_payment().send(&invoice, None).unwrap();

node.stop().unwrap();
}
Expand Down

0 comments on commit 21d8978

Please sign in to comment.