Skip to content

Commit e115aa5

Browse files
committed
rename to create_onion_message
1 parent a109c72 commit e115aa5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/onion_message/messenger.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ where
283283
&self, path: OnionMessagePath, message: OnionMessageContents<T>,
284284
reply_path: Option<BlindedPath>
285285
) -> Result<(), SendError> {
286-
let (introduction_node_id, onion_msg) = Self::make_onion_message(
286+
let (introduction_node_id, onion_msg) = Self::create_onion_message(
287287
&self.entropy_source,
288288
&self.node_signer,
289289
&self.secp_ctx,
@@ -303,9 +303,9 @@ where
303303
}
304304
}
305305

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`.
307307
/// Returns (introduction_node_id, onion_msg)
308-
pub fn make_onion_message<T: CustomOnionMessageContents>(
308+
pub fn create_onion_message<T: CustomOnionMessageContents>(
309309
entropy_source: &ES,
310310
node_signer: &NS,
311311
secp_ctx: &Secp256k1<secp256k1::All>,

0 commit comments

Comments
 (0)