mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-10 06:07:16 +01:00
record+tlv/onion_types: move type constants to route/hop
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
package tlv
|
||||
|
||||
const (
|
||||
// AmtOnionType is the type used in the onion to refrence the amount to
|
||||
// send to the next hop.
|
||||
AmtOnionType Type = 2
|
||||
|
||||
// LockTimeTLV is the type used in the onion to refenernce the CLTV
|
||||
// value that should be used for the next hop's HTLC.
|
||||
LockTimeOnionType Type = 4
|
||||
|
||||
// NextHopOnionType is the type used in the onion to reference the ID
|
||||
// of the next hop.
|
||||
NextHopOnionType Type = 6
|
||||
)
|
||||
Reference in New Issue
Block a user