@@ -16,7 +16,7 @@ use bitcoin::hashes::sha256::Hash as Sha256;
1616use bitcoin:: secp256k1:: { self , PublicKey , Scalar , Secp256k1 , SecretKey } ;
1717
1818use crate :: blinded_path:: { BlindedPath , IntroductionNode , NextMessageHop , NodeIdLookUp } ;
19- use crate :: blinded_path:: message:: { advance_path_by_one , ForwardNode , ForwardTlvs , MessageContext , ReceiveTlvs } ;
19+ use crate :: blinded_path:: message:: { advance_message_path_by_one , ForwardNode , ForwardTlvs , MessageContext , ReceiveTlvs } ;
2020use crate :: blinded_path:: utils;
2121use crate :: events:: { Event , EventHandler , EventsProvider , ReplayEvent } ;
2222use crate :: sign:: { EntropySource , NodeSigner , Recipient } ;
@@ -874,7 +874,7 @@ where
874874 } ,
875875 } ;
876876 if introduction_node_id == our_node_id {
877- advance_path_by_one ( blinded_path, node_signer, node_id_lookup, & secp_ctx)
877+ advance_message_path_by_one ( blinded_path, node_signer, node_id_lookup, & secp_ctx)
878878 . map_err ( |( ) | SendError :: BlindedPathAdvanceFailed ) ?;
879879 }
880880 }
0 commit comments