File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff 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 (
You can’t perform that action at this time.
0 commit comments