multi: update linter, fix issues

This commit is contained in:
Oliver Gugger 2025-03-06 14:26:11 +01:00
parent 722ad8839d
commit 65251e8821
No known key found for this signature in database
GPG key ID: 8E4256593F177720
36 changed files with 617 additions and 1200 deletions

View file

@ -386,8 +386,6 @@ func invoicesrpcSelectHopHints(amtMSat lnwire.MilliSatoshi, cfg *SelectHopHintsC
hopHintChans := make(map[wire.OutPoint]struct{})
hopHints := make([][]zpay32.HopHint, 0, numMaxHophints)
for _, channel := range openChannels {
channel := channel
enoughHopHints := sufficientHints(
len(hopHints), numMaxHophints, hopHintFactor, amtMSat,
totalHintBandwidth,