peer: extract hodl mask, remove htlchodl mode

This commit is contained in:
Conner Fromknecht 2018-04-26 14:08:02 -07:00
parent ab607a7ec6
commit 701d37725c
No known key found for this signature in database
GPG Key ID: 39DE78FBE6ACB0EF

@ -417,7 +417,7 @@ func (p *peer) loadActiveChannels(chans []*channeldb.OpenChannel) error {
p.server.chanRouter, p.PubKey(), p.server.chanRouter, p.PubKey(),
), ),
DebugHTLC: cfg.DebugHTLC, DebugHTLC: cfg.DebugHTLC,
HodlHTLC: cfg.HodlHTLC, HodlMask: cfg.Hodl.Mask(),
Registry: p.server.invoices, Registry: p.server.invoices,
Switch: p.server.htlcSwitch, Switch: p.server.htlcSwitch,
Circuits: p.server.htlcSwitch.CircuitModifier(), Circuits: p.server.htlcSwitch.CircuitModifier(),
@ -1394,7 +1394,7 @@ out:
p.server.chanRouter, p.PubKey(), p.server.chanRouter, p.PubKey(),
), ),
DebugHTLC: cfg.DebugHTLC, DebugHTLC: cfg.DebugHTLC,
HodlHTLC: cfg.HodlHTLC, HodlMask: cfg.Hodl.Mask(),
Registry: p.server.invoices, Registry: p.server.invoices,
Switch: p.server.htlcSwitch, Switch: p.server.htlcSwitch,
Circuits: p.server.htlcSwitch.CircuitModifier(), Circuits: p.server.htlcSwitch.CircuitModifier(),