From 62333425c2fd62756bdf8e305a112d37b0c0e517 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 12 Dec 2022 16:37:04 +1030 Subject: [PATCH] sendpay: remove style `legacy` setting. We ignored it anyway. Signed-off-by: Rusty Russell Changelog-Removed: JSON-RPC: `sendpay` `route` argument `style` "legacy" (deprecated v0.11.0) --- lightningd/pay.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lightningd/pay.c b/lightningd/pay.c index 133b4066d..5e44ec11e 100644 --- a/lightningd/pay.c +++ b/lightningd/pay.c @@ -1354,10 +1354,6 @@ static struct command_result *param_route_hop_style(struct command *cmd, return NULL; } - /* We still let you *specify* this, but we ignore it! */ - if (deprecated_apis && json_tok_streq(buffer, tok, "legacy")) - return NULL; - return command_fail_badparam(cmd, name, buffer, tok, "should be 'tlv' ('legacy' not supported)"); }