diff --git a/peer.go b/peer.go index a2f92738..92026ff7 100644 --- a/peer.go +++ b/peer.go @@ -379,6 +379,7 @@ func (p *peer) loadActiveChannels(chans []*channeldb.OpenChannel) error { linkCfg := htlcswitch.ChannelLinkConfig{ Peer: p, DecodeHopIterator: p.server.sphinx.DecodeHopIterator, + DecodeHopIterators: p.server.sphinx.DecodeHopIterators, DecodeOnionObfuscator: p.server.sphinx.ExtractErrorEncrypter, GetLastChannelUpdate: createGetLastUpdate(p.server.chanRouter, p.PubKey(), lnChan.ShortChanID()), @@ -1272,6 +1273,7 @@ out: linkConfig := htlcswitch.ChannelLinkConfig{ Peer: p, DecodeHopIterator: p.server.sphinx.DecodeHopIterator, + DecodeHopIterators: p.server.sphinx.DecodeHopIterators, DecodeOnionObfuscator: p.server.sphinx.ExtractErrorEncrypter, GetLastChannelUpdate: createGetLastUpdate(p.server.chanRouter, p.PubKey(), newChanReq.channel.ShortChanID()),