Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lightning/src/blinded_path/payment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ impl Readable for BlindedPaymentTlvs {
short_channel_id,
payment_relay: payment_relay.ok_or(DecodeError::InvalidValue)?,
payment_constraints: payment_constraints.0.unwrap(),
features: features.ok_or(DecodeError::InvalidValue)?,
features: features.unwrap_or_else(BlindedHopFeatures::empty),
}))
} else {
if payment_relay.is_some() || features.is_some() { return Err(DecodeError::InvalidValue) }
Expand Down
5 changes: 5 additions & 0 deletions pending_changelog/blinded-hop-features-optional.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Bug Fixes

* LDK previously would fail to forward an intermediate blinded payment
if the blinded hop features were absent, potentially breaking
interoperability.