Skip to content

assets swap deposits [5/N]: add asset deposit manager #2291

assets swap deposits [5/N]: add asset deposit manager

assets swap deposits [5/N]: add asset deposit manager #2291

Triggered via pull request July 15, 2025 15:26
Status Failure
Total duration 11m 47s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors
build and lint code: assets/client.go#L417
S1031: unnecessary nil check around range (gosimple)
build and lint code: assets/deposit/sweeper.go#L148
unslice: could simplify rootHash[:] to rootHash (gocritic)
build and lint code: assets/deposit/sweeper.go#L115
unslice: could simplify rootHash[:] to rootHash (gocritic)
build and lint code: assets/htlc/swapkit.go#L245
unslice: could simplify taprootAssetRoot[:] to taprootAssetRoot (gocritic)
build and lint code: assets/htlc/swapkit.go#L204
unslice: could simplify taprootAssetRoot[:] to taprootAssetRoot (gocritic)
build and lint code: assets/client.go#L828
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
build and lint code: assets/deposit/sweeper.go#L445
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
build and lint code: assets/deposit/sweeper.go#L444
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
build and lint code: assets/deposit/protocol.go#L32
unnecessary conversion (unconvert)
build and lint code: loopd/daemon.go#L10
G108: Profiling endpoint is automatically exposed on /debug/pprof (gosec)
run unit tests
Process completed with exit code 2.