diff --git a/README.md b/README.md index c6768dd0a..f8a3664d4 100644 --- a/README.md +++ b/README.md @@ -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(); }