Merge pull request #1149 from cfromknecht/trim-pending-htlc-index

Trim Open Circuits Using HTLC Index of Pending Commitments
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2018-05-03 16:45:29 -07:00
commit ecfde2e85f
16 files changed
+1349 -74

No files matched your search

+2 -2
View File
@@ -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(),
@@ -1395,7 +1395,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(),