htlcswitch: Remove obsolete fields from htlcPacket.
This commit is contained in:
1 parent
40fb0ddcfc
commit
6ea533275c
6 files changed
+22
-40
No files matched your search
@@ -1,8 +1,6 @@
|
||||
package htlcswitch
|
||||
|
||||
import (
|
||||
"crypto/sha256"
|
||||
|
||||
"github.com/lightningnetwork/lnd/lnwire"
|
||||
)
|
||||
|
||||
@@ -13,12 +11,6 @@ type htlcPacket struct {
|
||||
// message.
|
||||
destNode [33]byte
|
||||
|
||||
// payHash is the payment hash of the HTLC which was modified by either
|
||||
// a settle or fail action.
|
||||
//
|
||||
// NOTE: This fields is initialized only in settle and fail packets.
|
||||
payHash [sha256.Size]byte
|
||||
|
||||
// incomingChanID is the ID of the channel that we have received an incoming
|
||||
// HTLC on.
|
||||
incomingChanID lnwire.ShortChannelID
|
||||
|
||||
Reference in new issue
Block a user