multi: fix race conditions and run unit tests with -race #1771
main.yml
on: pull_request
RPC compilation check
1m 34s
go mod check
18s
build and lint code
4m 40s
run unit tests
10m 36s
Annotations
6 errors
build and lint code:
swap.go#L129
Comment should end in a period (godot)
|
build and lint code:
loopd/log.go#L47
func `debugf` is unused (unused)
|
build and lint code:
loopin.go#L306
copylocks: literal copies lock value from *swapKit: github.com/lightninglabs/loop.swapKit contains sync.Mutex (govet)
|
build and lint code:
loopin.go#L414
copylocks: literal copies lock value from *swapKit: github.com/lightninglabs/loop.swapKit contains sync.Mutex (govet)
|
build and lint code:
loopout.go#L264
copylocks: literal copies lock value from *swapKit: github.com/lightninglabs/loop.swapKit contains sync.Mutex (govet)
|
build and lint code
Process completed with exit code 2.
|