htlcswitch: remove no longer needed destNode field in htlcPacket
This commit is contained in:
parent
7535371238
commit
44e97ee72f
@ -8,10 +8,6 @@ import (
|
|||||||
// htlcPacket is a wrapper around htlc lnwire update, which adds additional
|
// htlcPacket is a wrapper around htlc lnwire update, which adds additional
|
||||||
// information which is needed by this package.
|
// information which is needed by this package.
|
||||||
type htlcPacket struct {
|
type htlcPacket struct {
|
||||||
// destNode is the first-hop destination of a local created HTLC add
|
|
||||||
// message.
|
|
||||||
destNode [33]byte
|
|
||||||
|
|
||||||
// incomingChanID is the ID of the channel that we have received an incoming
|
// incomingChanID is the ID of the channel that we have received an incoming
|
||||||
// HTLC on.
|
// HTLC on.
|
||||||
incomingChanID lnwire.ShortChannelID
|
incomingChanID lnwire.ShortChannelID
|
||||||
|
@ -371,7 +371,6 @@ func (s *Switch) SendHTLC(firstHop lnwire.ShortChannelID,
|
|||||||
incomingChanID: sourceHop,
|
incomingChanID: sourceHop,
|
||||||
incomingHTLCID: paymentID,
|
incomingHTLCID: paymentID,
|
||||||
outgoingChanID: firstHop,
|
outgoingChanID: firstHop,
|
||||||
destNode: nextNode,
|
|
||||||
htlc: htlc,
|
htlc: htlc,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user