Onion messaging support #3
main.yml
on: pull_request
Lint
1m 32s
Build
24s
Matrix: Unit Tests
Annotations
10 errors
|
Lint:
sphinx.go#L241
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
|
Lint:
sphinx_test.go#L294
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unable to create onion \"+\n\t\"packet: %v\", err)" (err113)
|
|
Lint:
sphinx_test.go#L239
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"error generating second \"+\n\t\"blinded path: %v\", err)" (err113)
|
|
Lint:
sphinx_test.go#L220
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unable to \"+\n\t\"generate random path ID: %v\", err)" (err113)
|
|
Lint:
sphinx_test.go#L207
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"error generating first \"+\n\t\"blinded path: %v\", err)" (err113)
|
|
Lint:
sphinx_test.go#L164
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unable to generate \"+\n\t\"random key for sphinx node: %v\", err)" (err113)
|
|
Lint:
sphinx_test.go#L155
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"at least 2 hops are \" +\n\t\"required to create an onion message route\")" (err113)
|
|
Lint:
sphinx.go#L444
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"onion packet is too small, missing HMAC\")" (err113)
|
|
Lint:
sphinx.go#L240
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"error generating shared secret: %v\",\n\terr)" (err113)
|
|
Lint:
sphinx_test.go#L151
calculated cyclomatic complexity for function newOnionMessageRoute is 15, max is 10 (cyclop)
|