Skip to content

Commit fde4124

Browse files
committed
f rename
1 parent 05a6be0 commit fde4124

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
@@ -308,13 +308,13 @@ where
308308
let mut blinded_pub = PublicKey::from_secret_key(secp_ctx, &blinded_priv);
309309

310310
let unblinded_hops = hops.iter().map(|h| (h.node_pubkey(), Some(h)));
311-
let blinded_pks = blinded_tail
311+
let blinded_pubkeys = blinded_tail
312312
.map(|t| t.hops.iter())
313313
.unwrap_or([].iter())
314314
.skip(1) // Skip the intro node because it's included in the unblinded hops
315315
.map(|h| (&h.blinded_node_id, None));
316316

317-
unblinded_hops.chain(blinded_pks).enumerate().map(move |(idx, (pubkey, route_hop_opt))| {
317+
unblinded_hops.chain(blinded_pubkeys).enumerate().map(move |(idx, (pubkey, route_hop_opt))| {
318318
let shared_secret = SharedSecret::new(pubkey, &blinded_priv);
319319

320320
let mut sha = Sha256::engine();

0 commit comments

Comments
 (0)