File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lightning/src/onion_message Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ where
283
283
& self , path : OnionMessagePath , message : OnionMessageContents < T > ,
284
284
reply_path : Option < BlindedPath >
285
285
) -> Result < ( ) , SendError > {
286
- let ( introduction_node_id, onion_msg) = Self :: make_onion_message (
286
+ let ( introduction_node_id, onion_msg) = Self :: create_onion_message (
287
287
& self . entropy_source ,
288
288
& self . node_signer ,
289
289
& self . secp_ctx ,
@@ -303,9 +303,9 @@ where
303
303
}
304
304
}
305
305
306
- /// Make an onion message with contents `message` to the destination of `path`.
306
+ /// Create an onion message with contents `message` to the destination of `path`.
307
307
/// Returns (introduction_node_id, onion_msg)
308
- pub fn make_onion_message < T : CustomOnionMessageContents > (
308
+ pub fn create_onion_message < T : CustomOnionMessageContents > (
309
309
entropy_source : & ES ,
310
310
node_signer : & NS ,
311
311
secp_ctx : & Secp256k1 < secp256k1:: All > ,
You can’t perform that action at this time.
0 commit comments