File tree Expand file tree Collapse file tree 4 files changed +18
-2
lines changed Expand file tree Collapse file tree 4 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -203,6 +203,9 @@ require (
203
203
// store have been included in a tagged sqldb version.
204
204
replace github.com/lightningnetwork/lnd/sqldb => ./sqldb
205
205
206
+ // TODO(elle): replace once the updated tlv package has been tagged.
207
+ replace github.com/lightningnetwork/lnd/tlv => ./tlv
208
+
206
209
// This replace is for https://github.com/advisories/GHSA-25xm-hr59-7c27
207
210
replace github.com/ulikunitz/xz => github.com/ulikunitz/xz v0.5.11
208
211
Original file line number Diff line number Diff line change @@ -377,8 +377,6 @@ github.com/lightningnetwork/lnd/queue v1.1.1 h1:99ovBlpM9B0FRCGYJo6RSFDlt8/vOkQQ
377
377
github.com/lightningnetwork/lnd/queue v1.1.1 /go.mod h1:7A6nC1Qrm32FHuhx/mi1cieAiBZo5O6l8IBIoQxvkz4 =
378
378
github.com/lightningnetwork/lnd/ticker v1.1.1 h1:J/b6N2hibFtC7JLV77ULQp++QLtCwT6ijJlbdiZFbSM =
379
379
github.com/lightningnetwork/lnd/ticker v1.1.1 /go.mod h1:waPTRAAcwtu7Ji3+3k+u/xH5GHovTsCoSVpho0KDvdA =
380
- github.com/lightningnetwork/lnd/tlv v1.3.1 h1:o7CZg06y+rJZfUMAo0WzBLr0pgBWCzrt0f9gpujYUzk =
381
- github.com/lightningnetwork/lnd/tlv v1.3.1 /go.mod h1:pJuiBj1ecr1WWLOtcZ+2+hu9Ey25aJWFIsjmAoPPnmc =
382
380
github.com/lightningnetwork/lnd/tor v1.1.6 h1:WHUumk7WgU6BUFsqHuqszI9P6nfhMeIG+rjJBlVE6OE =
383
381
github.com/lightningnetwork/lnd/tor v1.1.6 /go.mod h1:qSRB8llhAK+a6kaTPWOLLXSZc6Hg8ZC0mq1sUQ/8JfI =
384
382
github.com/ltcsuite/ltcd v0.0.0-20190101042124-f37f8bf35796 h1:sjOGyegMIhvgfq5oaue6Td+hxZuf3tDC8lAPrFldqFw =
Original file line number Diff line number Diff line change @@ -22,13 +22,18 @@ const (
22
22
// second defined unsigned TLV range used in pure TLV messages.
23
23
pureTLVSecondUnsignedTypeRangeStart uint32 = 3000000000
24
24
25
+ // inboundFeeType defines the TLV type used within the channel_update
26
+ // message to indicate the inbound fee for a channel.
27
+ inboundFeeType = 55555
28
+
25
29
defaultOutputFile = "tlv_types_generated.go"
26
30
)
27
31
28
32
// typeMarkers defines any adhoc TLV types we want to generate.
29
33
var typeMarkers = map [uint32 ]struct {}{
30
34
pureTLVSecondSignedTypeRangeStart : {},
31
35
pureTLVSecondUnsignedTypeRangeStart : {},
36
+ inboundFeeType : {},
32
37
}
33
38
34
39
const typeCodeTemplate = `// Code generated by tlv/internal/gen; DO NOT EDIT.
You can’t perform that action at this time.
0 commit comments