We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a1ed9b commit 3443e5eCopy full SHA for 3443e5e
lightning/src/ln/outbound_payment.rs
@@ -153,7 +153,10 @@ impl PendingOutboundPayment {
153
PendingOutboundPayment::Retryable { session_privs, .. } |
154
PendingOutboundPayment::Fulfilled { session_privs, .. } |
155
PendingOutboundPayment::Abandoned { session_privs, .. } => session_privs,
156
- PendingOutboundPayment::AwaitingInvoice { .. } => return,
+ PendingOutboundPayment::AwaitingInvoice { .. } => {
157
+ debug_assert!(false);
158
+ return;
159
+ },
160
});
161
let payment_hash = self.payment_hash();
162
*self = PendingOutboundPayment::Fulfilled { session_privs, payment_hash, timer_ticks_without_htlcs: 0 };
0 commit comments