Skip to content

Commit 21d8978

Browse files
authored
Merge pull request #460 from tnull/2025-02-add-missing-sendparams-param
Add missing argument to `README` example
2 parents 8bfa8ec + 998e331 commit 21d8978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ fn main() {
4444
node.event_handled();
4545

4646
let invoice = Bolt11Invoice::from_str("INVOICE_STR").unwrap();
47-
node.bolt11_payment().send(&invoice).unwrap();
47+
node.bolt11_payment().send(&invoice, None).unwrap();
4848

4949
node.stop().unwrap();
5050
}

0 commit comments

Comments
 (0)