diff --git a/plugins/keysend.c b/plugins/keysend.c index aed5511fe..6fdc4f18b 100644 --- a/plugins/keysend.c +++ b/plugins/keysend.c @@ -221,8 +221,6 @@ static struct command_result *json_keysend(struct command *cmd, const char *buf, p = payment_new(cmd, cmd, NULL /* No parent */, global_hints, pay_mods); p->local_id = &my_id; - p->json_buffer = tal_dup_talarr(p, const char, buf); - p->json_toks = params; p->route_destination = tal_steal(p, destination); p->pay_destination = p->route_destination; p->payment_secret = NULL; diff --git a/plugins/libplugin-pay.h b/plugins/libplugin-pay.h index 4df7d3fca..1498f0fb4 100644 --- a/plugins/libplugin-pay.h +++ b/plugins/libplugin-pay.h @@ -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; diff --git a/plugins/pay.c b/plugins/pay.c index ba1353a54..acb532c3a 100644 --- a/plugins/pay.c +++ b/plugins/pay.c @@ -1468,8 +1468,6 @@ static struct command_result *json_pay(struct command *cmd, } p->local_id = &my_id; - p->json_buffer = buf; - p->json_toks = params; p->why = "Initial attempt"; p->constraints.cltv_budget = *maxdelay; tal_free(maxdelay);