mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
sendpay: remove style legacy
setting.
We ignored it anyway. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Removed: JSON-RPC: `sendpay` `route` argument `style` "legacy" (deprecated v0.11.0)
This commit is contained in:
parent
66bde4bd9f
commit
62333425c2
@ -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)");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user