mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
JSON: remove handling of pre-Adelaide (B:T:N) short_channel_ids.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
714e7fb670
commit
acf3952acc
@@ -140,8 +140,7 @@ struct command_result *param_short_channel_id(struct command *cmd,
|
||||
struct short_channel_id **scid)
|
||||
{
|
||||
*scid = tal(cmd, struct short_channel_id);
|
||||
if (json_to_short_channel_id(buffer, tok, *scid,
|
||||
deprecated_apis))
|
||||
if (json_to_short_channel_id(buffer, tok, *scid))
|
||||
return NULL;
|
||||
|
||||
return command_fail(cmd, JSONRPC2_INVALID_PARAMS,
|
||||
|
||||
Reference in New Issue
Block a user