Skip to content

Commit 62ed763

Browse files
f nit
1 parent 1eb05c5 commit 62ed763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/routing/router.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ impl Readable for Route {
407407
if blinded_tails.len() != 0 {
408408
if blinded_tails.len() != paths.len() { return Err(DecodeError::InvalidValue) }
409409
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); }
410+
path.blinded_tail = blinded_tail_opt;
411411
}
412412
}
413413
Ok(Route { paths, payment_params })

0 commit comments

Comments
 (0)