Skip to content

Commit

Permalink
fix README: incomplete parameters for get_invoice (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
claddyy authored Sep 30, 2024
1 parent 7b6555b commit 32e022c
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 @@ -27,7 +27,7 @@ let res = async_client.make_request(url).await.unwrap();
if let LnUrlPayResponse(pay) = res {
let msats = 1_000_000;
let pay_result = async_client.get_invoice(&pay, msats, None).await.unwrap();
let pay_result = async_client.get_invoice(&pay, msats, None, None).await.unwrap();
let invoice = Bolt11Invoice::from_str(&pay_result.invoice()).unwrap();
Expand Down

0 comments on commit 32e022c

Please sign in to comment.