From 998e33163f5699f6d4df337dcfc29a040a7b09a4 Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Wed, 5 Feb 2025 14:04:03 +0100 Subject: [PATCH] Add missing argument to `README` example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }