File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1511,13 +1511,13 @@ where
1511
1511
/// // On the event processing thread
1512
1512
/// channel_manager.process_pending_events(&|event| match event {
1513
1513
/// Event::PaymentClaimable { payment_hash, purpose, .. } => match purpose {
1514
- /// PaymentPurpose::InvoicePayment { payment_preimage: Some(payment_preimage), .. } => {
1514
+ /// PaymentPurpose::InvoicePayment { payment_preimage: Some(payment_preimage), .. } => {
1515
1515
/// println!("Claiming payment {}", payment_hash);
1516
1516
/// channel_manager.claim_funds(payment_preimage);
1517
1517
/// },
1518
- /// PaymentPurpose::InvoicePayment { payment_preimage: None, .. } => {
1518
+ /// PaymentPurpose::InvoicePayment { payment_preimage: None, .. } => {
1519
1519
/// println!("Unknown payment hash: {}", payment_hash);
1520
- /// },
1520
+ /// },
1521
1521
/// // ...
1522
1522
/// # _ => {},
1523
1523
/// },
You can’t perform that action at this time.
0 commit comments