diff --git a/peer.go b/peer.go index 248e5830..c44697fc 100644 --- a/peer.go +++ b/peer.go @@ -417,7 +417,7 @@ func (p *peer) loadActiveChannels(chans []*channeldb.OpenChannel) error { p.server.chanRouter, p.PubKey(), ), DebugHTLC: cfg.DebugHTLC, - HodlHTLC: cfg.HodlHTLC, + HodlMask: cfg.Hodl.Mask(), Registry: p.server.invoices, Switch: p.server.htlcSwitch, Circuits: p.server.htlcSwitch.CircuitModifier(), @@ -1394,7 +1394,7 @@ out: p.server.chanRouter, p.PubKey(), ), DebugHTLC: cfg.DebugHTLC, - HodlHTLC: cfg.HodlHTLC, + HodlMask: cfg.Hodl.Mask(), Registry: p.server.invoices, Switch: p.server.htlcSwitch, Circuits: p.server.htlcSwitch.CircuitModifier(),