From 701d37725cff1f030a2f16a758f899d45d533517 Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Thu, 26 Apr 2018 14:08:02 -0700 Subject: [PATCH] peer: extract hodl mask, remove htlchodl mode --- peer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(),