plugins: remove unused json_buffer / json_toks members from libplugin-pay.

They were never referenced, and saving the toks is questionable since their
lifetime is not guaranteed to live beyond this call (at least the buffer was
duplicated, but that also assumed it was at the start of the object).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2025-10-23 14:23:03 +10:30
parent e5318ee62c
commit dd7cc71b38
3 changed files with 0 additions and 7 deletions

View File

@@ -148,9 +148,6 @@ struct payment {
struct plugin *plugin;
struct node_id *local_id;
const char *json_buffer;
const jsmntok_t *json_toks;
/* The current phase we are in. */
enum payment_step step;