File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
lightning/src/blinded_path Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ impl Readable for BlindedPaymentTlvs {
169
169
short_channel_id,
170
170
payment_relay : payment_relay. ok_or ( DecodeError :: InvalidValue ) ?,
171
171
payment_constraints : payment_constraints. 0 . unwrap ( ) ,
172
- features : features. ok_or ( DecodeError :: InvalidValue ) ? ,
172
+ features : features. unwrap_or_else ( BlindedHopFeatures :: empty ) ,
173
173
} ) )
174
174
} else {
175
175
if payment_relay. is_some ( ) || features. is_some ( ) { return Err ( DecodeError :: InvalidValue ) }
Original file line number Diff line number Diff line change
1
+ ## Bug Fixes
2
+
3
+ * LDK previously would fail to forward an intermediate blinded payment
4
+ if the blinded hop features were absent, potentially breaking
5
+ interoperability.
You can’t perform that action at this time.
0 commit comments