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 f47b04b commit 7b4fdbdCopy full SHA for 7b4fdbd
lightning/src/onion_message/messenger.rs
@@ -1486,10 +1486,11 @@ where
1486
ParsedOnionMessageContents::AsyncPayments(AsyncPaymentsMessage::ReleaseHeldHtlc(msg)) => {
1487
let context = match context {
1488
Some(MessageContext::AsyncPayments(context)) => context,
1489
- _ => {
1490
- debug_assert!(false, "Shouldn't have triggered this case.");
+ Some(_) => {
+ debug_assert!(false, "Checked in peel_onion_message");
1491
return
1492
},
1493
+ None => return,
1494
};
1495
self.async_payments_handler.release_held_htlc(msg, context);
1496
0 commit comments