@@ -1180,7 +1180,7 @@ where
1180
1180
)
1181
1181
}
1182
1182
1183
- fn handle_onion_message_send < T : OnionMessageContents > (
1183
+ fn send_onion_message_internal < T : OnionMessageContents > (
1184
1184
& self , message : T , instructions : MessageSendInstructions , log_suffix : fmt:: Arguments ,
1185
1185
) -> Result < Option < SendSuccess > , SendError > {
1186
1186
let ( destination, context) = match instructions {
@@ -1362,7 +1362,7 @@ where
1362
1362
& self , response : T , instructions : ResponseInstruction ,
1363
1363
) -> Result < Option < SendSuccess > , SendError > {
1364
1364
let message_type = response. msg_type ( ) ;
1365
- self . handle_onion_message_send (
1365
+ self . send_onion_message_internal (
1366
1366
response, instructions. into_instructions ( ) ,
1367
1367
format_args ! (
1368
1368
"when responding with {} to an onion message" ,
@@ -1749,7 +1749,7 @@ where
1749
1749
1750
1750
// Enqueue any initiating `CustomMessage`s to send.
1751
1751
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 (
1753
1753
message, instructions, format_args ! ( "when sending CustomMessage" )
1754
1754
) ;
1755
1755
}
0 commit comments