@@ -1462,7 +1462,7 @@ mod tests {
14621462 let secp_ctx = Secp256k1 :: new ( ) ;
14631463 let payment_id = PaymentId ( [ 1 ; 32 ] ) ;
14641464
1465- let blinded_path = BlindedMessagePath :: from_raw (
1465+ let blinded_path = BlindedMessagePath :: from_blinded_path (
14661466 pubkey ( 40 ) ,
14671467 pubkey ( 41 ) ,
14681468 vec ! [
@@ -1643,15 +1643,15 @@ mod tests {
16431643 #[ test]
16441644 fn builds_offer_with_paths ( ) {
16451645 let paths = vec ! [
1646- BlindedMessagePath :: from_raw (
1646+ BlindedMessagePath :: from_blinded_path (
16471647 pubkey( 40 ) ,
16481648 pubkey( 41 ) ,
16491649 vec![
16501650 BlindedHop { blinded_node_id: pubkey( 43 ) , encrypted_payload: vec![ 0 ; 43 ] } ,
16511651 BlindedHop { blinded_node_id: pubkey( 44 ) , encrypted_payload: vec![ 0 ; 44 ] } ,
16521652 ] ,
16531653 ) ,
1654- BlindedMessagePath :: from_raw (
1654+ BlindedMessagePath :: from_blinded_path (
16551655 pubkey( 40 ) ,
16561656 pubkey( 41 ) ,
16571657 vec![
@@ -1856,15 +1856,15 @@ mod tests {
18561856 #[ test]
18571857 fn parses_offer_with_paths ( ) {
18581858 let offer = OfferBuilder :: new ( pubkey ( 42 ) )
1859- . path ( BlindedMessagePath :: from_raw (
1859+ . path ( BlindedMessagePath :: from_blinded_path (
18601860 pubkey ( 40 ) ,
18611861 pubkey ( 41 ) ,
18621862 vec ! [
18631863 BlindedHop { blinded_node_id: pubkey( 43 ) , encrypted_payload: vec![ 0 ; 43 ] } ,
18641864 BlindedHop { blinded_node_id: pubkey( 44 ) , encrypted_payload: vec![ 0 ; 44 ] } ,
18651865 ] ,
18661866 ) )
1867- . path ( BlindedMessagePath :: from_raw (
1867+ . path ( BlindedMessagePath :: from_blinded_path (
18681868 pubkey ( 40 ) ,
18691869 pubkey ( 41 ) ,
18701870 vec ! [
@@ -1879,7 +1879,7 @@ mod tests {
18791879 }
18801880
18811881 let offer = OfferBuilder :: new ( pubkey ( 42 ) )
1882- . path ( BlindedMessagePath :: from_raw (
1882+ . path ( BlindedMessagePath :: from_blinded_path (
18831883 pubkey ( 40 ) ,
18841884 pubkey ( 41 ) ,
18851885 vec ! [
0 commit comments