Skip to content

Commit

Permalink
fixup! lnwire: introduce PureTLVMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
ellemouton committed Dec 2, 2024
1 parent 7bf142a commit f9b6397
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lnwire/pure_tlv_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,8 @@ func (g *MsgV2) AllRecords() []tlv.Record {
)...)

g.Capacity.WhenSome(
func(cap tlv.RecordT[tlv.TlvType1, MilliSatoshi]) {
recordProducers = append(recordProducers, &cap)
func(c tlv.RecordT[tlv.TlvType1, MilliSatoshi]) {
recordProducers = append(recordProducers, &c)
},
)
g.BitcoinKey.WhenSome(
Expand Down

0 comments on commit f9b6397

Please sign in to comment.