MCPcopy Create free account
hub / github.com/ElementsProject/lightning / onion_message_hook_cb

Function onion_message_hook_cb

lightningd/onion_message.c:82–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82static void
83onion_message_hook_cb(struct onion_message_hook_payload *payload STEALS)
84{
85 /* plugin_hook_continue checks the "result"; anything other than continue
86 * just stops. */
87 tal_free(payload);
88}
89
90/* This is for unsolicted messages */
91REGISTER_PLUGIN_HOOK(onion_message_recv,

Callers

nothing calls this directly

Calls 1

tal_freeFunction · 0.85

Tested by

no test coverage detected