peer: extract hodl mask, remove htlchodl mode
This commit is contained in:
parent
ab607a7ec6
commit
701d37725c
4
peer.go
4
peer.go
@ -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(),
|
||||||
|
Loading…
Reference in New Issue
Block a user