mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
0d4b9ad6ce
Now we can specify a blinded path in an offer, we have to check they used it (or didn't use it, if we didn't have one!). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
13 lines
440 B
C
13 lines
440 B
C
#ifndef LIGHTNING_PLUGINS_OFFERS_INV_HOOK_H
|
|
#define LIGHTNING_PLUGINS_OFFERS_INV_HOOK_H
|
|
#include "config.h"
|
|
#include <plugins/libplugin.h>
|
|
|
|
/* We got an onionmessage with an invoice! reply_path could be NULL. */
|
|
struct command_result *handle_invoice(struct command *cmd,
|
|
const u8 *invbin,
|
|
struct blinded_path *reply_path STEALS,
|
|
const struct secret *secret);
|
|
|
|
#endif /* LIGHTNING_PLUGINS_OFFERS_INV_HOOK_H */
|