Skip to content

Commit c64e3a6

Browse files
committed
lnwire: fix linter
1 parent 828486e commit c64e3a6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lnwire/dyn_propose.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,17 +195,17 @@ func dynProposeRecords(dp *DynPropose) []tlv.RecordProducer {
195195
},
196196
)
197197
dp.MaxValueInFlight.WhenSome(
198-
func(max tlv.RecordT[tlv.TlvType2, MilliSatoshi]) {
198+
func(mvif tlv.RecordT[tlv.TlvType2, MilliSatoshi]) {
199199
rec := tlv.NewPrimitiveRecord[tlv.TlvType2](
200-
uint64(max.Val),
200+
uint64(mvif.Val),
201201
)
202202
recordProducers = append(recordProducers, &rec)
203203
},
204204
)
205205
dp.HtlcMinimum.WhenSome(
206-
func(min tlv.RecordT[tlv.TlvType4, MilliSatoshi]) {
206+
func(hm tlv.RecordT[tlv.TlvType4, MilliSatoshi]) {
207207
rec := tlv.NewPrimitiveRecord[tlv.TlvType4](
208-
uint64(min.Val),
208+
uint64(hm.Val),
209209
)
210210
recordProducers = append(recordProducers, &rec)
211211
},
@@ -224,8 +224,8 @@ func dynProposeRecords(dp *DynPropose) []tlv.RecordProducer {
224224
},
225225
)
226226
dp.MaxAcceptedHTLCs.WhenSome(
227-
func(max tlv.RecordT[tlv.TlvType10, uint16]) {
228-
recordProducers = append(recordProducers, &max)
227+
func(mah tlv.RecordT[tlv.TlvType10, uint16]) {
228+
recordProducers = append(recordProducers, &mah)
229229
},
230230
)
231231
dp.ChannelType.WhenSome(

0 commit comments

Comments
 (0)