mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 07:34:21 +01:00
connectd: hoist find_local_address so we can give more graceful Tor erros.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
struct wireaddr *tor_autoservice(const tal_t *ctx,
|
||||
const struct wireaddr_internal *tor_serviceaddr,
|
||||
const char *tor_password,
|
||||
const struct wireaddr_internal *bindings,
|
||||
const struct wireaddr *localaddr,
|
||||
const bool use_v3_autotor);
|
||||
|
||||
struct wireaddr *tor_fixed_service(const tal_t *ctx,
|
||||
@@ -19,8 +19,4 @@ struct wireaddr *tor_fixed_service(const tal_t *ctx,
|
||||
const struct wireaddr *bind,
|
||||
const u8 index);
|
||||
|
||||
const struct wireaddr *
|
||||
find_local_address(const struct wireaddr_internal *bindings);
|
||||
|
||||
|
||||
#endif /* LIGHTNING_CONNECTD_TOR_AUTOSERVICE_H */
|
||||
|
||||
Reference in New Issue
Block a user