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 3048969 commit 829134aCopy full SHA for 829134a
lightning/src/ln/channelmanager.rs
@@ -6892,7 +6892,7 @@ impl Readable for HTLCSource {
6892
payment_id = Some(PaymentId(*session_priv.0.unwrap().as_ref()));
6893
}
6894
let path = path.unwrap_or(Vec::new());
6895
- if path.is_empty() && blinded_tail.is_none() {
+ if path.is_empty() {
6896
return Err(DecodeError::InvalidValue);
6897
6898
if let Some(params) = payment_params.as_mut() {
@@ -6903,7 +6903,7 @@ impl Readable for HTLCSource {
6903
Ok(HTLCSource::OutboundRoute {
6904
session_priv: session_priv.0.unwrap(),
6905
first_hop_htlc_msat,
6906
- path: Path { hops: path, blinded_tail: None },
+ path: Path { hops: path, blinded_tail },
6907
payment_id: payment_id.unwrap(),
6908
})
6909
0 commit comments