htlcswitch: remove no longer needed destNode field in htlcPacket

This commit is contained in:
Wilmer Paulino authored and Olaoluwa Osuntokun committed 2018-08-20 21:04:52 -07:00
1 parent 7535371238
commit 44e97ee72f
2 files changed
-5

No files matched your search

-4
View File
@@ -8,10 +8,6 @@ import (
// htlcPacket is a wrapper around htlc lnwire update, which adds additional
// information which is needed by this package.
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
// HTLC on.
incomingChanID lnwire.ShortChannelID
-1
View File
@@ -371,7 +371,6 @@ func (s *Switch) SendHTLC(firstHop lnwire.ShortChannelID,
incomingChanID: sourceHop,
incomingHTLCID: paymentID,
outgoingChanID: firstHop,
destNode: nextNode,
htlc: htlc,
}