Skip to content

Commit

Permalink
set the tor port also in struct wireaddr
Browse files Browse the repository at this point in the history
fixes also #1939

Signed-off-by: Saibato <Saibato.naga@pm.me>
  • Loading branch information
Saibato authored and cdecker committed Sep 19, 2018
1 parent f6fb120 commit 60b51d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connectd/tor_autoservice.c
Expand Up @@ -97,7 +97,7 @@ static struct wireaddr *make_onion(const tal_t *ctx,

name = tal_fmt(tmpctx, "%s.onion", line);
onion = tal(ctx, struct wireaddr);
if (!parse_wireaddr(name, onion, 0, false, NULL))
if (!parse_wireaddr(name, onion, DEFAULT_PORT, false, NULL))
status_failed(STATUS_FAIL_INTERNAL_ERROR,
"Tor gave bad onion name '%s'", name);
discard_remaining_response(rbuf);
Expand Down

0 comments on commit 60b51d2

Please sign in to comment.