Skip to content

Commit

Permalink
f - Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jkczyz committed Mar 22, 2024
1 parent f89a55e commit c1ae0fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lightning/src/ln/channelmanager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1511,13 +1511,13 @@ where
/// // On the event processing thread
/// channel_manager.process_pending_events(&|event| match event {
/// Event::PaymentClaimable { payment_hash, purpose, .. } => match purpose {
/// PaymentPurpose::InvoicePayment { payment_preimage: Some(payment_preimage), .. } => {
/// PaymentPurpose::InvoicePayment { payment_preimage: Some(payment_preimage), .. } => {
/// println!("Claiming payment {}", payment_hash);
/// channel_manager.claim_funds(payment_preimage);
/// },
/// PaymentPurpose::InvoicePayment { payment_preimage: None, .. } => {
/// PaymentPurpose::InvoicePayment { payment_preimage: None, .. } => {
/// println!("Unknown payment hash: {}", payment_hash);
/// },
/// },
/// // ...
/// # _ => {},
/// },
Expand Down

0 comments on commit c1ae0fc

Please sign in to comment.