2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-04 06:00:21 +00:00
loop/loopdb
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
..
codec_test.go loopdb: add the local pubkey's keylocator to the persisted contract 2022-06-30 16:59:57 +02:00
codec.go loopdb: add the local pubkey's keylocator to the persisted contract 2022-06-30 16:59:57 +02:00
interface.go loopdb: add new bucket to save liquidity params 2022-06-07 19:19:53 +08:00
log.go multi: add persistent logger 2019-10-28 17:09:23 +01:00
loop.go multi: fix linter issues 2022-12-15 18:08:38 +01:00
loopin.go multi: remove shadowed label variable in loopin swaps 2021-12-09 13:40:34 +02:00
loopout.go multi: bump btcec/v2 and btcutil to new versions 2022-03-25 11:00:16 +01:00
meta.go multi: fix linter issues 2022-12-15 18:08:38 +01:00
migration_01_costs.go loopdb/loopout: add field SwapPublicationDeadline to LoopOutContract 2019-11-21 18:47:00 +01:00
migration_02_swap_publication_deadline.go loopdb/loopout: add field SwapPublicationDeadline to LoopOutContract 2019-11-21 18:47:00 +01:00
migration_03_last_hop.go loopdb: migrate loop in channel to last hop 2020-02-17 19:59:05 +01:00
migration_04_updates_test.go loopdb: migrate to nested updates structure 2020-06-24 15:28:07 +02:00
migration_04_updates.go loopdb: migrate to nested updates structure 2020-06-24 15:28:07 +02:00
protocol_version_test.go multi: make the next protocol version optional 2022-06-30 16:59:54 +02:00
protocol_version.go multi: make the next protocol version optional 2022-06-30 16:59:54 +02:00
raw_db_test.go multi: fix linter issues 2022-05-20 10:16:46 +02:00
store_test.go loopdb: add new bucket to save liquidity params 2022-06-07 19:19:53 +08:00
store.go loopdb: add the local pubkey's keylocator to the persisted contract 2022-06-30 16:59:57 +02:00
swapstate.go multi: bump btcec/v2 and btcutil to new versions 2022-03-25 11:00:16 +01:00