Skip to content

Commit 46b22a9

Browse files
Fix indentation in outbound payment mark_abandoned
1 parent ce2ed44 commit 46b22a9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lightning/src/ln/outbound_payment.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,13 +163,13 @@ impl PendingOutboundPayment {
163163
let our_payment_hash;
164164
core::mem::swap(&mut session_privs, match self {
165165
PendingOutboundPayment::Legacy { .. } |
166-
PendingOutboundPayment::Fulfilled { .. } =>
166+
PendingOutboundPayment::Fulfilled { .. } =>
167167
return Err(()),
168-
PendingOutboundPayment::Retryable { session_privs, payment_hash, .. } |
169-
PendingOutboundPayment::Abandoned { session_privs, payment_hash, .. } => {
170-
our_payment_hash = *payment_hash;
171-
session_privs
172-
},
168+
PendingOutboundPayment::Retryable { session_privs, payment_hash, .. } |
169+
PendingOutboundPayment::Abandoned { session_privs, payment_hash, .. } => {
170+
our_payment_hash = *payment_hash;
171+
session_privs
172+
},
173173
});
174174
*self = PendingOutboundPayment::Abandoned { session_privs, payment_hash: our_payment_hash };
175175
Ok(())

0 commit comments

Comments
 (0)