mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-04 14:54:26 +01:00
connectd: simply use global features from common/features.
We currently hand the feature set from lightningd, but that's confusing if they were ever different. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
be6322a2d3
commit
d613b3fa9d
@@ -367,8 +367,7 @@ int connectd_init(struct lightningd *ld)
|
||||
|
||||
msg = towire_connectctl_init(
|
||||
tmpctx, &ld->id,
|
||||
get_offered_globalfeatures(tmpctx),
|
||||
get_offered_localfeatures(tmpctx), wireaddrs,
|
||||
wireaddrs,
|
||||
listen_announce,
|
||||
ld->proxyaddr, ld->use_proxy_always || ld->pure_tor_setup,
|
||||
allow_localhost, ld->config.use_dns,
|
||||
|
||||
Reference in New Issue
Block a user