| 201 | }; |
| 202 | |
| 203 | static struct command_result *send_onion_reply_after_established(struct command *cmd, |
| 204 | const struct pubkey *path, |
| 205 | struct onion_reply *onion_reply) |
| 206 | { |
| 207 | struct onion_message *omsg; |
| 208 | |
| 209 | omsg = outgoing_onion_message(tmpctx, path, NULL, onion_reply->reply_path, onion_reply->payload); |
| 210 | return inject_onionmessage(cmd, omsg, finished, injectonionmessage_error, onion_reply); |
| 211 | } |
| 212 | |
| 213 | static struct command_result *send_onion_reply_not_established(struct command *cmd, |
| 214 | const char *why, |
nothing calls this directly
no test coverage detected