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-03-23 10:01:14 +10:30
parent 04a152fbcf
commit d15d629b8b
5 changed files with 37 additions and 48 deletions

View File

@@ -10,6 +10,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 */