File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ( ) ;
You can’t perform that action at this time.
0 commit comments