mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 07:00:55 +02:00
htlcswitch: Remove obsolete fields from htlcPacket.
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
40fb0ddcfc
commit
6ea533275c
@@ -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