2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-08 01:10:29 +00:00
loop/test
sputn1ck 4baf88c414
multi: fix linter issues
This commit fixes outstanding linter issues, that we're not found by
running `make lint` locally. The linter issues were found by running
`docker run -v $(pwd):/build loop-tools golangci-lint run --whole-files`

I added the `revive` to the excludes as it would be to much of a
refactor and IMO seems unneccesary. E.g.
`interface.go:222:6: exported: type name will be used as
loop.LoopInTerms by other packages, and that stutters; consider
 calling this InTerms (revive)`. I think `loop.LoopInTerms` is fine.
2022-12-15 18:08:38 +01:00
..
chainnotifier_mock.go test: followup update chainnotifier mock to fwd notifications for matching txs 2020-04-15 14:43:03 +02:00
context.go multi: fix linter issues 2022-12-15 18:08:38 +01:00
invoices_mock.go multi: bump btcec/v2 and btcutil to new versions 2022-03-25 11:00:16 +01:00
keys.go multi: bump btcec/v2 and btcutil to new versions 2022-03-25 11:00:16 +01:00
lightning_client_mock.go multi: fix linter issues 2022-05-20 10:16:46 +02:00
lnd_services_mock.go multi: fix linter issues 2022-12-15 18:08:38 +01:00
log.go multi: fix most obvious linter errors 2019-10-09 14:35:41 +02:00
router_mock.go multi: bump btcec/v2 and btcutil to new versions 2022-03-25 11:00:16 +01:00
signer_mock.go loopd: bump minimum lnd version to v0.15.1-beta 2022-10-07 12:24:25 +02:00
testutils.go misc: refactor loop tests to use require where possible 2022-11-30 18:16:45 +01:00
timeout.go multi: fix most obvious linter errors 2019-10-09 14:35:41 +02:00
versioner_mock.go lndclient: move to github.com/lightninglabs/lndclient 2020-06-18 14:27:52 +02:00
walletkit_mock.go loopd: bump minimum lnd version to v0.15.1-beta 2022-10-07 12:24:25 +02:00