File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -468,11 +468,13 @@ impl Bolt11Payment {
468468 ) ;
469469
470470 let invoice = {
471- let mut invoice_params = Bolt11InvoiceParameters :: default ( ) ;
472- invoice_params. amount_msats = amount_msat;
473- invoice_params. description = invoice_description;
474- invoice_params. invoice_expiry_delta_secs = Some ( expiry_secs) ;
475- invoice_params. payment_hash = manual_claim_payment_hash;
471+ let invoice_params = Bolt11InvoiceParameters {
472+ amount_msats : amount_msat,
473+ description : invoice_description,
474+ invoice_expiry_delta_secs : Some ( expiry_secs) ,
475+ payment_hash : manual_claim_payment_hash,
476+ ..Default :: default ( )
477+ } ;
476478
477479 match self . channel_manager . create_bolt11_invoice ( invoice_params) {
478480 Ok ( inv) => {
You can’t perform that action at this time.
0 commit comments