mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-01 17:47:30 +01:00
set the tor port also in struct wireaddr
fixes also #1939 Signed-off-by: Saibato <Saibato.naga@pm.me>
This commit is contained in:
parent
f6fb120e4a
commit
60b51d29b6
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue