Skip to content

Commit b06ed2f

Browse files
committed
f rename
1 parent 82b2a09 commit b06ed2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/onion_utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,10 +1044,10 @@ where
10441044
let num_blinded_hops = path.blinded_tail.as_ref().map_or(0, |bt| bt.hops.len());
10451045

10461046
// if we have Trampoline hops, the blinded hops are part of the inner Trampoline onion
1047-
let nontrampoline_bp =
1047+
let nontrampoline_bt =
10481048
if path.has_trampoline_hops() { None } else { path.blinded_tail.as_ref() };
10491049
let nontrampoline_hops =
1050-
construct_onion_keys_generic(secp_ctx, &path.hops, nontrampoline_bp, outer_session_priv)
1050+
construct_onion_keys_generic(secp_ctx, &path.hops, nontrampoline_bt, outer_session_priv)
10511051
.map(|(shared_secret, _, _, route_hop_option, _)| {
10521052
(route_hop_option.map(|rh| ErrorHop::RouteHop(rh)), shared_secret)
10531053
});

0 commit comments

Comments
 (0)