mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 23:21:12 +02:00
htlcswitch/hop: move hop.Exit and hop.Source to hop pkg
This commit is contained in:
13
htlcswitch/hop/type.go
Normal file
13
htlcswitch/hop/type.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package hop
|
||||
|
||||
import "github.com/lightningnetwork/lnd/lnwire"
|
||||
|
||||
var (
|
||||
// Exit is a special "hop" denoting that an incoming HTLC is meant to
|
||||
// pay finally to the receiving node.
|
||||
Exit lnwire.ShortChannelID
|
||||
|
||||
// Source is a sentinel "hop" denoting that an incoming HTLC is
|
||||
// initiated by our own switch.
|
||||
Source lnwire.ShortChannelID
|
||||
)
|
Reference in New Issue
Block a user