@@ -16,7 +16,7 @@ use bitcoin::hashes::sha256::Hash as Sha256;
16
16
use bitcoin:: secp256k1:: { self , PublicKey , Scalar , Secp256k1 , SecretKey } ;
17
17
18
18
use 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 } ;
20
20
use crate :: blinded_path:: utils;
21
21
use crate :: events:: { Event , EventHandler , EventsProvider , ReplayEvent } ;
22
22
use crate :: sign:: { EntropySource , NodeSigner , Recipient } ;
@@ -874,7 +874,7 @@ where
874
874
} ,
875
875
} ;
876
876
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)
878
878
. map_err ( |( ) | SendError :: BlindedPathAdvanceFailed ) ?;
879
879
}
880
880
}
0 commit comments