Skip to content

Commit 998e331

Browse files
committed
Add missing argument to README example
1 parent 8bfa8ec commit 998e331

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)