Skip to content

Commit

Permalink
Merge pull request #6 from ElementsProject/master
Browse files Browse the repository at this point in the history
set the tor port also in struct wireaddr
  • Loading branch information
gruve-p committed Sep 19, 2018
2 parents 4610558 + 60b51d2 commit edb7a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connectd/tor_autoservice.c
Original file line number Diff line number Diff line change
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 edb7a2e

Please sign in to comment.