common: remove unused parameter "allow_deprecated" from parse_wireaddr_internal.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2022-09-10 11:27:31 +09:30
parent a56b17c759
commit 6c33f7db65
9 changed files with 31 additions and 36 deletions

View File

@@ -201,7 +201,7 @@ static struct command_result *json_connect(struct command *cmd,
if (!parse_wireaddr_internal(id_addr.host, addr, port, false,
!cmd->ld->always_use_proxy
&& !cmd->ld->pure_tor_setup,
true, deprecated_apis,
true,
&err_msg)) {
return command_fail(cmd, LIGHTNINGD,
"Host %s:%u not valid: %s",