Skip to content

Commit 92fb3ad

Browse files
committed
f better fn name
1 parent e783073 commit 92fb3ad

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
@@ -1180,7 +1180,7 @@ where
11801180
)
11811181
}
11821182

1183-
fn handle_onion_message_send<T: OnionMessageContents>(
1183+
fn send_onion_message_internal<T: OnionMessageContents>(
11841184
&self, message: T, instructions: MessageSendInstructions, log_suffix: fmt::Arguments,
11851185
) -> Result<Option<SendSuccess>, SendError> {
11861186
let (destination, context) = match instructions {
@@ -1362,7 +1362,7 @@ where
13621362
&self, response: T, instructions: ResponseInstruction,
13631363
) -> Result<Option<SendSuccess>, SendError> {
13641364
let message_type = response.msg_type();
1365-
self.handle_onion_message_send(
1365+
self.send_onion_message_internal(
13661366
response, instructions.into_instructions(),
13671367
format_args!(
13681368
"when responding with {} to an onion message",
@@ -1749,7 +1749,7 @@ where
17491749

17501750
// Enqueue any initiating `CustomMessage`s to send.
17511751
for (message, instructions) in self.custom_handler.release_pending_custom_messages() {
1752-
let _ = self.handle_onion_message_send(
1752+
let _ = self.send_onion_message_internal(
17531753
message, instructions, format_args!("when sending CustomMessage")
17541754
);
17551755
}

0 commit comments

Comments
 (0)