plugins/fetchinvoice: remove obsolete string-based API.

Generate the payload in the callers.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2022-09-29 13:19:03 +09:30
parent 41ef85318d
commit 2fbe0f59f1
5 changed files with 37 additions and 47 deletions

View File

@@ -9,6 +9,5 @@ struct command;
struct command_result *WARN_UNUSED_RESULT
send_onion_reply(struct command *cmd,
struct tlv_onionmsg_payload_reply_path *reply_path,
const char *replyfield,
const u8 *replydata);
struct tlv_onionmsg_payload *payload);
#endif /* LIGHTNING_PLUGINS_OFFERS_H */