peer: DecodeOnionObfuscator -> ExractErrorEncrypter
This commit is contained in:
1 file changed
+2
-2
@@ -399,7 +399,7 @@ func (p *peer) loadActiveChannels(chans []*channeldb.OpenChannel) error {
|
||||
linkCfg := htlcswitch.ChannelLinkConfig{
|
||||
Peer: p,
|
||||
DecodeHopIterators: p.server.sphinx.DecodeHopIterators,
|
||||
DecodeOnionObfuscator: p.server.sphinx.ExtractErrorEncrypter,
|
||||
ExtractErrorEncrypter: p.server.sphinx.ExtractErrorEncrypter,
|
||||
GetLastChannelUpdate: createGetLastUpdate(p.server.chanRouter,
|
||||
p.PubKey(), lnChan.ShortChanID()),
|
||||
DebugHTLC: cfg.DebugHTLC,
|
||||
@@ -1366,7 +1366,7 @@ out:
|
||||
linkConfig := htlcswitch.ChannelLinkConfig{
|
||||
Peer: p,
|
||||
DecodeHopIterators: p.server.sphinx.DecodeHopIterators,
|
||||
DecodeOnionObfuscator: p.server.sphinx.ExtractErrorEncrypter,
|
||||
ExtractErrorEncrypter: p.server.sphinx.ExtractErrorEncrypter,
|
||||
GetLastChannelUpdate: createGetLastUpdate(p.server.chanRouter,
|
||||
p.PubKey(), newChanReq.channel.ShortChanID()),
|
||||
DebugHTLC: cfg.DebugHTLC,
|
||||
|
||||
Reference in new issue
Block a user