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 1eb05c5 commit 62ed763Copy full SHA for 62ed763
lightning/src/routing/router.rs
@@ -407,7 +407,7 @@ impl Readable for Route {
407
if blinded_tails.len() != 0 {
408
if blinded_tails.len() != paths.len() { return Err(DecodeError::InvalidValue) }
409
for (mut path, blinded_tail_opt) in paths.iter_mut().zip(blinded_tails.into_iter()) {
410
- if let Some(blinded_tail) = blinded_tail_opt { path.blinded_tail = Some(blinded_tail); }
+ path.blinded_tail = blinded_tail_opt;
411
}
412
413
Ok(Route { paths, payment_params })
0 commit comments