Merge pull request #7702 from ellemouton/towerClientMux
wtclient: Tower Client Multiplexer
This commit is contained in:
14 files changed
+1265
-1015
No files matched your search
+3
-1
@@ -416,7 +416,9 @@ func (l *channelLink) Start() error {
|
||||
// If the config supplied watchtower client, ensure the channel is
|
||||
// registered before trying to use it during operation.
|
||||
if l.cfg.TowerClient != nil {
|
||||
err := l.cfg.TowerClient.RegisterChannel(l.ChanID())
|
||||
err := l.cfg.TowerClient.RegisterChannel(
|
||||
l.ChanID(), l.channel.State().ChanType,
|
||||
)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user