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:
Rusty Russell
2019-09-06 16:11:41 +09:30
committed by Christian Decker
parent 714e7fb670
commit acf3952acc
17 changed files with 23 additions and 47 deletions

View File

@@ -1194,8 +1194,7 @@ command_find_channel(struct command *cmd,
"Channel ID not found: '%.*s'",
tok->end - tok->start,
buffer + tok->start);
} else if (json_to_short_channel_id(buffer, tok, &scid,
deprecated_apis)) {
} else if (json_to_short_channel_id(buffer, tok, &scid)) {
list_for_each(&ld->peers, peer, list) {
*channel = peer_active_channel(peer);
if (!*channel)