Show in info log the name of the hidden onion service

Signed-off-by: Saibato <saibato.naga@pm.me>
This commit is contained in:
Saibato 2019-09-24 06:50:37 +00:00 committed by ZmnSCPxj, ZmnSCPxj jxPCSmnZ
parent 765416f0ca
commit e74dfa7fa1
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ static struct wireaddr *make_onion(const tal_t *ctx,
if (!parse_wireaddr(name, onion, DEFAULT_PORT, false, NULL))
status_failed(STATUS_FAIL_INTERNAL_ERROR,
"Tor gave bad onion name '%s'", name);
status_info("New autotor service onion address: \"%s:%d\"", name, DEFAULT_PORT);
discard_remaining_response(rbuf);
return onion;
}