diff --git a/peer/brontide.go b/peer/brontide.go index a58a44292..6f57ae234 100644 --- a/peer/brontide.go +++ b/peer/brontide.go @@ -973,9 +973,23 @@ func (p *Brontide) addLink(chanPoint *wire.OutPoint, // okay if the clients are disabled altogether and these values are nil, // as the link will check for nilness before using either. var towerClient htlcswitch.TowerClient - if chanType.HasAnchors() { + switch { + case chanType.IsTaproot(): + // Leave the tower client as nil for now until the tower client + // has support for taproot channels. + // + // If the user has activated the tower client, then add a log + // to explain that any taproot channel updates wil not be + // backed up to a tower. + if p.cfg.TowerClient != nil { + p.log.Debugf("Updates for channel %s will not be "+ + "backed up to a watchtower as watchtowers "+ + "are not yet taproot channel compatible", + chanPoint) + } + case chanType.HasAnchors(): towerClient = p.cfg.AnchorTowerClient - } else { + default: towerClient = p.cfg.TowerClient }